Skip to main content
Trying to make the question more readable and clear up the fact that it's referring to C#
Source Link
Kellen Stuart
  • 8.5k
  • 7
  • 67
  • 85

What is the difference between const and readonly in C#?

What is the difference between const and readonly and doin C#?

When would you use one over the other?

What is the difference between const and readonly?

What is the difference between const and readonly and do you use one over the other?

What is the difference between const and readonly in C#?

What is the difference between const and readonly in C#?

When would you use one over the other?

Question Protected by CommunityBot
added 12 characters in body
Source Link
Praveen
  • 56.2k
  • 35
  • 135
  • 165

What is the difference between constconst and readonlyreadonly and do you use one over the other?

What is the difference between const and readonly and do you use one over the other?

What is the difference between const and readonly and do you use one over the other?

edited tags
Link
Shimmy Weitzhandler
  • 103.9k
  • 124
  • 432
  • 638
edited tags
Link
Patrik Svensson
  • 13.7k
  • 8
  • 57
  • 77
Loading
Source Link
readonly
  • 351k
  • 109
  • 205
  • 206
Loading