BorislavBorisov

! Convert int to char

Sep 27th, 2015
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.17 KB | None | 0 0
  1. using System;
  2. class ConvertIntToChar
  3. {
  4.     static void Main()
  5.     {
  6.         int a = 65;
  7.         char ch = (char)a;
  8.         Console.WriteLine(ch);//A      
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment