What is the Difference between read only and constant
variables?
Answer Posted / zia khan
The difference between the readonly and const data members
is that const requires you to initialize with the
declaration, that is directly
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What are the advantages of using delegates in c#?
Int map to which .net types?
What is a class level variable in c#?
What does string intern do?
What is data type in c# with example?
Explain streamreader/streamwriter class?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
What are cookies in c#?
Is c# good for beginners?
Can I define my own exceptions?
What are delegates in C#?
explain Garbage collector’s functionality on unmanaged code
Is Facebook a desktop application?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?