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 |
Difference between Panel and GroupBox classes?
What is DTS and explain the purpose of it?
What is Global Assembly Cache (GAC) and what is the purpose of it?
What are the collections you've used?
How do you turn off cookies for one page in your site?
State the various features present in .NET?
Explain the procedure to add assemly to gac to make it shared one?
What are pdbs?
Tell about your technical profile ?
0 Answers TNEB Tamil Nadu Electricity Board,
What is web.config in .net?
What does the "EnableViewState" property do?
what is event inheritance and event delegation?