You do not combine spaces, but empty lines.
var empty = "" var space = " "
So you need to change your example:
Labelname.Text = String.Concat(this.Session["First Name"]," ", this.Session["Middle Name"]," ", this.Session["Last Name"]);
There are other ways to concatenate strings in C #.
Using the + operator:
Labelname.Text = this.Session["First Name"] + " " + this.Session["Middle Name"] + " " + this.Session["Last Name"];
Using the interpolated string function C # 6:
Labelname.Text = $"{this.Session["First Name"]} {this.Session["Middle Name"]} {this.Session["Last Name"]}";
Using string.Join :
Labelname.Text = string.Join(" ", new []{ this.Session["First Name"], this.Session["Middle Name"], this.Session["Last Name"]});
source share