Answers for "c# string to character array"

C#
2

c# string to character array

string chars = "Array";
char[] letters = chars.toCharArray();
Posted by: Guest on May-05-2020
2

c# char array to string

using System;
using System.Text;

namespace Example
{
    class Program
    {
        static void Main(string[] args)
        {
            char[] char_example = { 'E', 'x', 'a', 'm', 'p', 'l', 'e' };
            string charToString = new string(char_example);
            Console.WriteLine(charToString);
            Console.ReadLine();
        }
    }
}
Posted by: Guest on November-05-2020

Code answers related to "c# string to character array"

C# Answers by Framework

Browse Popular Code Answers by Language