Aug. 9, 2023, 5:53 p.m.

Coding lab

Sandra's Weeknotes

This is where you will find some of my coding experiments.


Familiarising myself with C#

Challenge: Write code in the .NET Editor to display two messages

Select all of the code in the .NET Editor, and press Delete or Backspace to delete it.

Write code that produces the following output:

Output:

This is the first line.

This is the second line.

Source: https://learn.microsoft.com/en-us/training/modules/csharp-write-first/4-challenge

My solution:

Console.WriteLine("This is the first line.");
Console.WriteLine("This is the second line.");

The terminal output:

This is the first line.
This is the second line.

You just read issue #1 of Sandra's Weeknotes. You can also browse the full archives of this newsletter.

Share on LinkedIn Share via email
Powered by Buttondown, the easiest way to start and grow your newsletter.