Архив метки: English

.Net 8 Product Version

.NET8 — ProductVersion contains git commit hash (en)

With the release of .NET 8, significant changes have been made regarding version-related properties in builds. Specifically, the update has affected the Source Link tooling, which is now included in the .NET SDK. This tool allows packages and applications to embed information about the version control system from which the build artifacts were created. As a result, commit information is now automatically included in the InformationalVersion property of libraries and applications.

Читать далее

C# — what is the difference between String and string?

In C#, there are two ways to declare a string: using the string keyword and using the String class. Let’s explore the differences and understand which one you should use.

Differences between `string` and `String` (Alias vs. Class)

  • string is an alias in C# for System.String.
  • String refers to the System.String class in the .NET Framework.
Читать далее