How can i initialise the FullName variable to auto concat the previous two strings?
Due to system design and constraints I can't pass the concatenated string when initialising, so is there a way to initialise the FullName variable without providing the concat string initially?
public class Person
{
public String FirstName { get; set; }
public String SecondName { get; set; }
//this should be first and second name together
public String FullName{ get; set;}
}