S
shapper
Hello,
I have a class with a few properties:
public class PageViewData {
public string ContentType { get; set; }
public string Keywords { get; set; }
public string Title { get; set; }
}
What is the correct way to define a property default value in case the
property is not defined?
Thank You,
Miguel
I have a class with a few properties:
public class PageViewData {
public string ContentType { get; set; }
public string Keywords { get; set; }
public string Title { get; set; }
}
What is the correct way to define a property default value in case the
property is not defined?
Thank You,
Miguel