Variables in C# question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Variables in C# question

Is it better to declare a variable before using it (assigning a value to it later in the code) or declare the variable and assign it at the same time?

1st Jun 2020, 12:11 PM
Star Ahmad
Star Ahmad - avatar
0 Answers