C#: Get the ASCII value of a given character
Get ASCII Value of Character
Write a C# Sharp program to get the ASCII value of a given character.
Sample Solution:
C# Sharp Code:
Sample Output:
Ascii value of 1 is: 49 Ascii value of A is: 65 Ascii value of a is: 97 Ascii value of # is: 35
Flowchart:

C# Sharp Code Editor:
Previous: Write a C# Sharp program which takes a positive number and return the nth odd number.
Next: Write a C# Sharp program to check whether a given word is plural or not.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics