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?
Use of const keyword in C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit MohantyRank #112 · 20K reputationPosted May 6, 2022, 2:18 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted May 6, 2022, 2:42 AM EDT