1
Reply

Can we make readonly and const as static in C# ?

Surya Prakash  Pandey

Surya Prakash Pandey

May 15, 2017
438
1

    Yes , we can make readonly as satatic but not to const . if we make readonly as static so while changing the variable value we need the static constructor as well .Thanks, Surya Prakash Pandey,