Skip to main content

2 docs tagged with "string-interpolation"

View all tags

Fundamental Data Types in C#: Strings (Part 2)

Following our exploration of the basics of C# strings, this article delves into more advanced string manipulation techniques, including string interpolation, composite formatting, and slicing.

Your First .NET Console App: "Hello, World!" (Part 2) - Understanding the Code

In Your First .NET Console App: \"Hello, World!\" (Part 1) - Using the Command Line, we successfully created and ran our first "Hello, World!" application using the .NET CLI. Now, in Part 2, we'll shift our focus to the C# code itself. We'll dissect the structure of the Program.cs file, understand the role of the Main method (even when it's implicit), explore the Console.WriteLine() method in more detail, and touch upon basic C# syntax elements like comments and string interpolation.