Oct 18, 2019 in C Sharp
Q: Why to use keyword “const” in C#? Give an example.

1 Answer

0 votes
Oct 18, 2019
“Const” keyword is used for making an entity constant. We can’t reassign the value to constant.

Eg: const string _name = "Test";
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
Oct 18, 2019 in C Sharp
...