Readonly vs. const?
Answers were Sorted based on User's Feedback
Answer / pavan
both of them does the same work these value cannot be
changed
but with a samll difference
using const we can assign a value before compile time
but using readonly we can assign value to the varible ones
in runtime
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / j_baghla
Both are used for constant values but in readonly variable
we can assign the value thru expression but we can't assign
value to constant variable thru expression.
| Is This Answer Correct ? | 5 Yes | 1 No |
Explain the difference between the while and for loop. Provide a .net syntax for both loops?
What do the terms “boxing” and “unboxing” mean?
Different levels of priority provided by .net.
What are virtual destructures?
What is boxing in .NET?
What is interface and abstract class in .net?
Explain what is an application domain?
Explain code access security.
What is Delegate? Have ever used Delegates in your project.
What is lambda expressions in c#?
How do you create threading in .NET? What is the namespace for that?
How you apply a theme in whole application in .Net?