×
Login Or SignUp
Privacy Policy
Terms Of Service
freetests4u.com
Online Knowledge Sharing Platform
Login/SignUp
freetests4u.com
Blogs
Mock Tests
Videos
Jobs
26 .
Which of the following is a reserved keyword in C#?
A.
abstract
B.
as
C.
foreach
D.
All of the above
View Answer
Ans: All of the above
27 .
Which of the following is a contextual keyword in C#?
A.
get
B.
set
C.
add
D.
All of the above
View Answer
Ans: All of the above
28 .
Which of the following converts a type to a Boolean value, where possible in C#?
A.
ToBoolean
B.
ToSingle
C.
ToChar
D.
ToDateTime
View Answer
Ans: ToBoolean
29 .
Which of the following variable types can be assigned a value directly in C#?
A.
Value types
B.
Reference types
C.
Pointer types
D.
All of the above
View Answer
Ans: Value types
30 .
Which of the following is correct about dynamic Type in C#?
A.
You can store any type of value in the dynamic data type variable.
B.
Type checking for these types of variables takes place at run-time.
C.
Both of the above
D.
None of the above
View Answer
Ans: Both of the above
1
2
3
4
5
6
7
8
9
10