Define a class in C# and create an instance of the class Part 1 – Create a new console app and rename the existing class

Let’s follow the Microsoft C# programming guide here.

First off create a new .Net console application.

Next go ahead and right click and rename the Program class to


This also renames the class to TestPerson.

Now in the next post we’ll create the new class!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: