R4R
Right Place For Right Person TM
R4R C# C# FAQS C# Interview Questions and Answers

 


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 11

Questions 51 
What is the top .NET class that everything is derived from? 

Answer
System,Object

Questions 52 
What does the parameter Initial Catalog define inside Connection String? 

Answer
The database name to connect to.

Questions 53 
What is the difference between const and static read-only? 

Answer
The difference is that static read-only can be modified by the containing class, but const can never be modified and must be initialized to a compile time constant. To expand on the static read-only case a bit, the containing class can only modify it: -- in the variable declaration (through a variable initializer). -- in the static constructor (instance constructors if it's not static).

Questions 54 
What is the equivalent to regsvr32 and regsvr32 /u a file in .NET development? 

Answer
using RegAsm.exe. The general syntax would be: RegAsm. A good description of RegAsm and its associated switches is located in the .NET SDK docs. Just search on "Assembly Registration Tool".Explain ACID rule of thumb for transactions. Transaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions), Consistent (data is either committed or roll back, no in-between case where something has been updated and something hasnot), Isolated (no transaction sees the intermediate results of the current transaction), Durable (the values persist if the data had been committed even if the system crashes right after).

Questions 55 
Why do I get a syntax error when trying to declare a variable called checked? 

Answer
The word checked is a keyword in C#.


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
Share |

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

New Updates

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R