Computer Science, asked by SMARTAlessia8188, 1 year ago

Difference between readonly and constant in c# kudvenkat

Answers

Answered by Anonymous
0

Answer:

Difference between readonly and const keyword in C# In C#, a const keyword is used to declare constant fields and constant local. ... This readonly keyword shows that you can assign the variable only when you declare a variable or in a constructor of the same class in which it is declared.

Similar questions