1
Answer

Initialization of integer in C#

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)