I'm quite new to using VS - and even C#.

I've been following along with the R&D testing Raven DB tutorials but I got stuck when Nelson extracted the method below to a variable:

session.Store(new Account
Id = string.Format("accounts/{0}", Guid.NewGuid()),
Name = new Name
FirstName = AddFirstNameBox.Text,
LastName = AddLastNameBox.Text

Does anyone know how to do this without resharp?