Totel:418 Click:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
C# Interview Questions And Answers
Page 17
Questions 81
Can multiple catch blocks be executed?
Answer
No, multiple catch blocks can not be executed. once the proper catch code fires off, the control is transferred to the finally block (if there are any), and then whatever follows the finally block.
Questions 82
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
Answer
The tracing dumps can be quite verbose and for some applications that are constantly running you run the risk of overloading the machine and the hard drive there. Five levels range from None to Verbose, allowing to fine-tune the tracing activities.
Questions 83
What’s the difference between the Debug class and Trace class? Documentation looks the same
Answer
Debug class is Used for debug builds,and
Trace class used for both debug and release builds.
Questions 84
How do you generate documentation from the C# file commented properly with a command-line compiler?
Answer
For generate documentation from the C# file commented properly with a command-line compile:- Compile it with a /doc switch.
Answer
To generate documentation from the C# file commented properly with a command-line compiler- Compile it with a /doc switch.
Questions 85
What’s the difference between // comments, /* */ comments and /// comments
Answer
// comments means Single-line comments
, /* */ comments means multi-line and
/// comments means XML documentation comments.
Goto Page:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
C# Objective Questions And Answers
C# Objective Questions And Answers
C# Interview Questions And Answers
C# Subjective Questions And Answers
R4R,C# Objective, C# Subjective, C# Interview Questions And Answers,C#,C# Interview,C# Questions ,C# Answers