var name = "raja";
var age = 26;
var single = true;
var age = 26;
var single = true;
The compiler will infer the type of the "name", "age" and "single" variables based on the type of their initial assignment value
string name = "raja";
int age = 26;
bool single = true;
int age = 26;
bool single = true;
No comments:
Post a Comment