Shazma Batool

Shazma Batool

  • NA
  • 101
  • 5.9k

Use of const keyword in C#

May 5 2022 6:34 PM

Why we can only use const keyword with primitive type in C# and cannot be used with user-defined types? Moreover, what is the concept that const are static by-default?


Answers (2)