Professional Documents
Culture Documents
C#-Quiz II
C#-Quiz II
C#-Quiz II
B - It must not contain any embedded space or symbol such as? - + ! @ # % ^ & * ( ) [ ] { }
Answer : C
A - true
B - false
Answer : A
Q 3 - Which of the following converts a type (integer or string type) to date-time structures in
C#?
A - ToString
B - ToSingle
C - ToChar
D - ToDateTime
Answer : D
A - sizeof
B - typeof
C-&
D-*
Answer : D
Q 5 - Which of the following method copies the actual value of an argument into the formal
parameter of the function?
A - Value parameters
B - Reference parameters
C - Output parameters
Answer : A
Q 6 - Which of the following property of Array class in C# checks whether the Array is
readonly?
A - IsFixedSize
B - IsReadOnly
C - Length
Answer : B
Q 7 - Which of the following is the default access specifier of a class member variable?
A - Private
B - Public
C - Protected
D - Internal
Answer : A
A - true
B - false
Answer : A
Q 9 - Which of the following preprocessor directive allows you to undefine a symbol in C#?
A - define
B - undef
C - region
D - endregion
Answer : B
A - A program catches an exception with an exception handler at the place in a program where
you want to handle the problem.
Answer : C