Home > Arunkumar Gudelli
ReadOnly and Constant in C#

C#-10 differences between Constant, ReadOnly & Static ReadOnly in C#

 Constant modifier in C# makes fields or locals constant.ReadOnly applies to fields in C#, value is constant after initialization.Static ReadOnly makes ReadOnly field class member.(Can be accessed through class name)Please go through the summary of differences between constant and readonly then I will try to explain each point after that. 10 main Difference

Read More