Answers for "print certain char of sting c#"

C#
1

how to access individual characters in a string in c#

string string1 = "A man i hurry just jumped on a tail of a dog and dog has bitten him damagingly";
Console.WriteLine(string1[34]);
Posted by: Guest on October-31-2021
2

c# get certain character from string

string myString = "string";
// outputs r
print(mystring[2]);
Posted by: Guest on December-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language