Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Exercise 1:

  • Create a class named Car - make sure it is public

In the Car class:

  • Create a Make property of type string that is public
  • Create a Model property of type string that is public
  • Create a Year property of type int that is public

In the Main method:

  • Create a new instance of the Car class
  • Set values in the properties for the object
  • Print the values of each property to the Console

About

.NET 6.0 template project for the Classes exercise at TrueCoders

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages