Click here to Skip to main content
Click here to Skip to main content

Displaying Greek letters in .NET using char casting

, 4 Sep 2006 CPOL
Rate this:
Please Sign up or sign in to vote.
How to display Greek letters in .NET using char casting.


I searched the Internet one day looking for a way to add that wily "Omega" symbol to some code of mine. I turns out that the best way to do this is to simply cast the hexcode value for "omega" to type char and add it anywhere in the string where you want it to appear. I thought I would share this information here with those of you who may need it.

A very simple example of this would look like the following:

aString  = aString + (char)0x03A9;
return aString;

This can be pretty much done for any symbol that has a hexcode! I hope this helps someone...Always share knowledge!


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author


Germany Germany
No Biography provided

Comments and Discussions

GeneralUnicode as an alternative PinmemberChris Danezis25-Jul-08 11:16 
GeneralJust what I needed. PinmemberRick Pingry24-Jul-07 15:59 
GeneralRe: Just what I needed. PinmemberMember 236693421-May-08 22:45 
GeneralRe: Just what I needed. PinmemberRick Pingry7-Jun-08 7:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150123.1 | Last Updated 5 Sep 2006
Article Copyright 2006 by JHotGermany
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid