Create and write a string containing the symbol for Pi : Unicode : I18N Internationalization C# Examples


C# Examples » I18N Internationalization » Unicode »

 

Create and write a string containing the symbol for Pi









    
using  System;
using  System.IO;
using  System.Text;

class  MainClass
{
        public  static  void  Main()  
        {                
                using  (StreamWriter  output  =  new  StreamWriter("output.txt"))  
                {
                        string  srcString  =  "Area  =  \u03A0r^2";
                        output.WriteLine("Source  Text  :  "  +  srcString);
                }
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo I18N Internationalization
» Unicode