What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-27 16:05:25
Find Number of Repetitions of Substring
using System; using System.Linq; public class Program { public static int NumberOfRepeats(string str) { int length = str.Length; int checkLength = 2; while (checkLength < length) { if (length % checkLength == 0) { var times ... Add solution -
C# 2022-01-23 07:50:05
c# multiply string
String.Concat(Enumerable.Repeat("Hello", 4)) Add solution -
C# 2021-11-18 17:16:08
c# md5 int
int source = 123; String hash; // Do not omit "using" - should be disposed using (var md5 = System.Security.Cryptography.MD5.Create()) { hash = String.Concat(md5.ComputeHash(BitConverter .GetBytes(source)) .Select(x => x.ToString("x... Add solution -
C# 2021-11-07 14:45:29
how to append something to a string in c#
string fName = "hello "; string lName = "world"; string Name = string.Concat(fName, lName); //or string firstName = "hello "; string lastName = "world"; string name = firstName + " " + las... Add solution -
C# 2021-10-10 11:40:07
c# Add or Concatenate Strings In C#
string fName = "hello "; string lName = "world"; string Name = string.Concat(fName, lName); //or string firstName = "hello "; string lastName = "world"; string name = firstName + " " + las... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5