6 posts about Strings in C# by 5 contributors.
Know Strings in C#? Share what you know with developers who are learning it.
Code examples of compare strings in C# using String.Equals, String.Compare, String.CompareTo() method, and StringComparer.

C# String Interpolation concatenates strings. In this article, I'll explain how to implement string Interpolation in C#.
This code snippet shows how to pad strings in C# and .net core. Padding in the string is adding a space or other character at the beginning or end of a string. String class has String.PadLeft() and String.PadRight() methods to pad strings in left and right sides.
Software often has to store small amounts of data locally but with reliable protection. Such a "vault" can be built with a few lines of C#.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article