Advanced Multiple Choice Questions Of C Sharp (C#).NET
By: Prof. Dr. Fazal Rehman | Last updated: March 3, 2022
Advanced Multiple Choice Questions Of C Sharp (C#).NET
1: Menu bar contains a set of ……. to provide controls in the form...a) Statusb) Toolc) Menud) Progress
Answer - Click Here:
B
2: Which of the following is the same as the code window…a) procedureb) debugc) objectd) form
Answer - Click Here:
B
3: Which of the following function translates a numeric value to a variable…a) modb) valc) build Ind) balance
Answer - Click Here:
B
4: Which of the following is true about C#…a) can be compiled on a variety of computer platformsb) It is a part of.Net Framework .c) It is component orientedd) All of the above
Answer - Click Here:
D
5: Choose which one is converts a type to a string…a) toSbyteb) tosinglec) toString.d) toInt64
Answer - Click Here:
C
6: Preprocessor allows testing a symbol to see if they evaluate to true…a) undefb) definec) elifd) if
Answer - Click Here:
D
7: Which of the following String method used to compare two strings…a)concat()b) copy()c)Compared) compare to
Answer - Click Here:
C
8: Which of the following property represents the current position of the stream…a) long Positionb) int Length c) long Lengthd) All of these
Answer - Click Here:
C
9: Which of the following statements is not correct about constructors…a) a constructor can be a static constructorb) a constructor cannot be overloaded c) constructor cannot be declared as privated) both b and c
Answer - Click Here:
D
10: Which of the following is not true about destructor…a) destructors can have modifiers or parameters b) Destructors cannot be inherited or overloadedc) class can have one destructor onlyd) all of above
Answer - Click Here:
A
11: Which of the following is not a characteristic of exception handling…a) catchb) tryc)finallyd) thrown
Answer - Click Here:
D
12: Which of the following option is correct for an example of “instanceof”…a) a functionb) a booleanc) a lnguage constructd) an operator