Examveda

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

A. int 10 = varName;

B. varName = 10;

C. variable varName = 10;

D. int varName = 10;

Answer: Option D


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

Join The Discussion

Related Questions on Introduction to C Sharp