Answers for "c# check word length"

C#
1

c# check lenght

'something'.Length; //Returns the length of whatever you check
Posted by: Guest on January-17-2021
0

c# check word length

Console.Write("Write a word ");
string Word = Console.ReadLine();

Console.WriteLine("The word you wrote has " + Word.Length + " characters in it");

for (int i = 0; i < Word.Length; i++)
{
	Console.WriteLine("Index " + i + " is " + Word[i]);
}
Posted by: Guest on September-30-2021
-1

count text length c#

int X = textBox1.Text.Length;
Posted by: Guest on January-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language