What is the Difference between read only and constant
variables?
Answer Posted / isaiselvan
readonly assign a value at run time but we can assign a declaration part.
const values assign only at declaration part.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is a protected class in c#?
What is an arraylist in c#?
What is the use of getcommandlineargs() method in c#.net?
How long can a string be c#?
What is the syntax for calling an overloaded constructor within a constructor?
What is managed code?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??
What's the difference between System.String and System..StringBuilder in C#?
What are the types of access modifiers?
windows c# using datagridview in edit form sql server
Contrast System.String and System.Text.StringBuilder classes?
What is expression c#?
What is the difference between “out” and “ref” parameters in c#?
What is decimal in c#?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?