Skip to content

C Basics

.StartsWith(text);
.EndsWith(text);
.Contains(text);
.Trim();
.TrimStart();
.TrimEnd();
.ToUpperCase();
.ToLowerCase();
string name = "Sherlock";
Console.WriteLine($"My name is {name}");

int number = 3;
double doubledNumber = 3.2;

https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/list-collection?tutorial-step=7

On this page

No Headings