using System;
class Program
{
static void Main()
{
// Input string.
string value = "Dot Net Perls";
// Use ToCharArray to convert string to array.
char[] array = value.ToCharArray();
// Loop through array.
for (int i = 0; i < array.Length; i++)
{
// Get character from array.
char letter = array[i];
// Display each letter.
Debug.Log("Letter: ");
Debug.Log(letter);
}
}
}
درباره این سایت