Examveda

Which of the following is a correct way to declare a constant in C#?

A. const int MAX_VALUE = 100;

B. constant int MAX_VALUE = 100;

C. int const MAX_VALUE = 100;

D. int MAX_VALUE = 100;

Answer: Option A


This Question Belongs to C Sharp Programming >> Introduction To C Sharp

Join The Discussion

Related Questions on Introduction to C Sharp