I would like to concatenate the 'Name' and 'LastName' of the user profile that I fetch from the database. I have the following code in Razor:

```
@if (Request.IsAuthenticated)
{
  var manager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationDbContext()));
  var currentUser = manager.FindById(User.Identity.GetUserId());
  var fullName = @currentUser.Name + " " + @currentUser.LastName;
  @fullName;
}
else
{
  <span>Guess</span>
}

```

However, when running the site and after log in successfully I got the following error:
**Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement**

I can fix this changing this line of code:

```
@currentUser.Name @currentUser.LastName;

```

This will displayed the Name and Last Name correctly but without the space between them.

Any clue how to solve this?
Regards!