0

I have 2 characteristics And I want to unite them into one characteristic I would be happy to help with this

public string L_NAME { get; set; }
public string F_NAME { get; set; }
demo
  • 6,038
  • 19
  • 75
  • 149

1 Answers1

2
public string L_NAME { get; set; }
public string F_NAME { get; set; }
public string Full_Name { get { return F_NAME +" "+ L_NAME; } }

You can use FullName in place of both properties