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
Can we assign null value to integer?
What to implement on my class Finalize or IDisposable
What is a delegate? How can it works?
What is ienumerator c#?
What is jit? What are the different types of jit?
What is inumerable?
Explain the process of abstraction with an example?
What is the difference between a private assembly and a shared assembly?
To allow an element to be accessed using a unique key which .NET collection class is used ?
what is full assembly reference
Why do you need boxing in c#?
Can a struct inherit from another struct or class in c#?
What is the namespace for datatable in c#?
Does c# support #define for defining global constants?
What do you mean by hashtable c#?