How To Convert Integers Into ASCII

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

TheMystery

Retired Staff
Active Member
Dec 6, 2013
648
364
133
Hey Console Crunch Here Is A Mini Tut On How To Convert Integers Into ASCII.

Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Getting ASCII Values";
Random rand = new Random();
for (int i = 97; i < 123; i++)
{
char a = (char)i;
Console.Write(a);
}
Console.ReadKey();
}
}
}

the values 97-122 are values on the ASCII chart a-z lowercase. You simply convert the integer value by char.

(char)integer

Credits :
Pinchu
 
General chit-chat
Help Users
    @ QM|T_JinX: im not sure if that will work for you if its cfw and you got hfw @Freddymaster703