https://github.com/truecodersio/variables-exercise
.NET 6.0 template project for the Variables exercise at TrueCoders
https://github.com/truecodersio/variables-exercise
Last synced: about 1 year ago
JSON representation
.NET 6.0 template project for the Variables exercise at TrueCoders
- Host: GitHub
- URL: https://github.com/truecodersio/variables-exercise
- Owner: truecodersio
- Created: 2022-09-29T13:55:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T15:27:15.000Z (over 1 year ago)
- Last Synced: 2025-04-12T18:47:33.129Z (about 1 year ago)
- Language: C#
- Size: 189 KB
- Stars: 0
- Watchers: 2
- Forks: 439
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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