Progress Monitor for IdealProgrammer.com
Take Swift, Intelligent, Massive, Planned, Loving, Effective (S.I.M.P.L.E.) Action to Transform Self into Ideal
Skip Repetitive Navigational Links
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console
Please login
C-Sharp ChrW Example - ChrW - Sample Code
Description:
Illustrates the C# Syntax for ChrW.
Example Class Main:
using System; public class clsChrW { public void Main() { //**************************************************************************************** // Purpose: Returns the character associated with the specified character code. // (not supported in C#) // VB Syntax: ChrW(CharCode as Integer) As Char // // CharCode - required - integer of character code from 0 to 255 // //**************************************************************************************** Console.WriteLine("Example #1: ChrW(string)"); Console.WriteLine((char)(84)); // Returns T //write blank line to make output easier to read Console.WriteLine(); //Prevent console from closing before you press enter Console.ReadLine(); } }
Example Class Program:
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSharp_Syntax { class Program { static void Main(string[] args) { clsChrW myChrW = new clsChrW(); myChrW.Main(); } } }
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console