1
Answer

Initialization of integer in C#

Photo of Amit Maheshwari

Amit Maheshwari

13y
1.9k
1
Hi friends,

I want to know that what's the difference between these initialization of integer x?

int x=1;
static int x=1;

Please explain the difference in the programming scenario?

Answers (1)