P
Peter K
Hi
is it possible to have a default value for an automatic property?
For example, say I have a property
public string Name { get; set; }
Can I have the "name" set to a default value of "Peter"? (I guess I could
write a constructor that does this).
/Peter
is it possible to have a default value for an automatic property?
For example, say I have a property
public string Name { get; set; }
Can I have the "name" set to a default value of "Peter"? (I guess I could
write a constructor that does this).
/Peter