what is read only and constant

Answer Posted / aravind

constant : it ll take the values at compile time ,,in
constant u cant change values .....


Read-Only : i ll take values at run time espessailly u can
use this for date functions

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class have more than 1 destructor?

608


What is the difference between console application and windows application?

581


How we can create an array with non-default values?

594


Define delay signing?

610


How can you sort strings in array that are passed to method as arguments?

613






What is the difference between new and override in c#?

634


What are the steps to create a webservice and consume it?

544


What is a private class in c#?

565


If you define a user defined data type by using the struct keyword, is it a value type or reference type?

589


What is a bool in c#?

561


Is string a data type in c#?

557


Which namespaces are necessary to create a localized application?

688


what optimizations does the c# compiler perform when you use the /optimize+ compiler option?

696


What is msil in c#?

641


Define the term immutable ?

715