Skip to content

.NET 6.0 template project for the Variables exercise at TrueCoders

Notifications You must be signed in to change notification settings

godfreyjared/Variables-Exercise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Exercise 1:

Step 1:

Declare and initialize variables for the following types:

  • string
  • int
  • char
  • bool
  • double
  • decimal

Step 2:

Interpolate these variables in a Console.Writeline();

For example:

string dogName = "Ralph";
int dogAge = 10;	

Console.WriteLine($"My dog's name is {dogName}, He is {dogAge} years old");

Step 3:

Analyze any errors you might incur, if any, and research how to fix it. This is a prime opportunity to exemplify self-learning. Once finished, save, commit, and push back to Github

About

.NET 6.0 template project for the Variables exercise at TrueCoders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C# 100.0%