c# char array to string
using System;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
char[] char_arr = { 'H', 'e', 'l', 'l', 'o'};
//converting char[] to string
string str = new string(char_arr);
//printing string
Console.WriteLine("str = " + str);
//hit ENTER to exit
Console.ReadLine();
}
}
}
Also in C#:
- waitforseconds unity
- unity html get request
- how to reference scripts in other scenes unity
- for each textbox c#
- class in c#
- C# array to label
- progress openedge odbc connection string c#
- hide inherited member c#
- __dopostback
- array copy c#
- c# read file stream
- condition when a animation finishes in unity
- c# trim string
- as c#
- unity how to change text in script
- open new window c# wpf
- convert word files to plain text c#
- how to reduce garbage collection c#
- rotate object towards target rotation slowly unity
- c# create array of int
- snake
- c# switch case with or condition
- c# build string out of list of strings
- unity up arrow input