# Module 3: Creating a new Character object

## Capturing user input

We'll be adding some code to `Program.cs` now.

Let's start with writing a message to the command line asking the user to input their name, then set up a `string` variable to capture the user's input.

Once you've taken in the user's name, pass that variable into a new `Character` object. All of that code should look a bit like this:

```csharp
Console.WriteLine("What is your name?");
string name = Console.ReadLine();
Console.Clear();

Character player = new Character(name);
```

Feel free to test your code here by writing the properties of your new object to the console to make sure that everything is working as intended, but you can comment out or delete that code once you're sure everything is working.

```csharp
    Character player = new Character(name);
    Console.WriteLine(player.Luck);
```

Once you're done with that, move on to part 2.
