Answer Posted / rafi
if we use constantat first only value should be assigned
where as
in readonly the value can be assigned any time but it
should not be modified
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between convert and parse in c#?
Why do we use threads in c#?
Explain about multithreading?
Can we make a class private in c#?
Can a method be sealed in c#?
What is access specifier in c#?
How big is an int16?
What is an object and a class?
Why do we use anonymous method in c#?
What is the difference between disposing of () and finalize() methods in c#?
How does a while loop work?
What is the default value of singleordefault?
i want o/p 011242110 in c# code.
What is a private method in c#?
Is collection a data structure?