What is the difference between static,readonly and constant ?
-
Hi , What is the difference between static,readonly and constant Thanks and advance, Azeez.
constant is constant static is static readonly is readonly. Honestly, wikipedia isn't available in your native tongue? Or is the first chapter of your book to difficult...
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
-
constant is constant static is static readonly is readonly. Honestly, wikipedia isn't available in your native tongue? Or is the first chapter of your book to difficult...
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
-
constant is constant static is static readonly is readonly. Honestly, wikipedia isn't available in your native tongue? Or is the first chapter of your book to difficult...
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]
-
EliottA wrote:
Honestly, wikipedia isn't available in your native tongue?
:omg: Don't you trust MSDN?
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
-
Hi , What is the difference between static,readonly and constant Thanks and advance, Azeez.
Static : - Which shared the value with multiple instance
Readonly :- once define.. you can change the value through constructor only at the time of creating instance..
Constant :- once define; you can't change it,,