Click here to Skip to main content
15,885,182 members
Articles / Desktop Programming / Win32

IlPad

Rate me:
Please Sign up or sign in to vote.
4.68/5 (13 votes)
21 Sep 2012CPOL2 min read 29.1K   772   15  
A program to compile C# code into MSIL code
using System;
namespace test
{
    public static class MyProgram
    {
        public static void Main()
        {
            Console.WriteLine("Hello World!");
            Console.Write("Type your name: ");
            string line = Console.ReadLine();

            if (line.ToLower().Equals("alan"))
            {
                Console.WriteLine("Hello Alan!");
            } else
            {
                Console.WriteLine("I don't think I know you dude!");
            }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Web Developer http://www.icemanind.com
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions