C# Program to Print ASCII values and characters using a while loop - technological developments continue to grow rapidly, old technologist replaced with the latest, on the blog
Tecno Mobile Phones we will discuss various updated technology from various brands around the world, well now we will discuss first about C# Program to Print ASCII values and characters using a while loop we collect a lot data from various reliable sources to make this article, please read:
Articles :
C# Program to Print ASCII values and characters using a while loop
full Link :
C# Program to Print ASCII values and characters using a while loop
Article Csharp,
Article programming,
Article programs,
You can also see our article on:
C# Program to Print ASCII values and characters using a while loop
C# Program to Print ASCII values and their equivalent characters using a while loop
Problem Statement:
Write a program to print all the ASCII values and their equivalent characters using a while loop. The ASCII values vary from 0 to 255.
Solution:
static void Main(string[] args)
{
int i=0;
Console.WriteLine("ASCII Char");
while (i <= 255)
{
Console.WriteLine(i+" "+(char)i);
i++;
}
Console.ReadLine();
}
0 komentar:
Post a Comment