int text = 100;
string num = text.ToString();
Console.WriteLine(num);
Dlaczego wypisuje 100, a nie odpowiedni kod z tablicy ascii?
int text = 100;
string num = text.ToString();
Console.WriteLine(num);
Dlaczego wypisuje 100, a nie odpowiedni kod z tablicy ascii?
chodziło o zamiane liczby na string
tu masz metody ktore mozesz do tego uzyc (masz ich az 4!)
char c = (char)65;
char c = Convert.ToChar(65);
string s = new string(65, 1);
string s = Encoding.ASCII.GetString(new byte[]{65});