Difference between revisions of "Shell scripts"

From GeodesyLab
Jump to: navigation, search
Line 1: Line 1:
<source lang="php">
+
<source lang="csharp">
<?php
+
// Hello World in Microsoft C# ("C-Sharp").
    v = "string";   // sample initialization
+
 
?>
+
using System;
html text
+
 
<?
+
class HelloWorld
     echo v;        // end of php code
+
{
?>
+
     public static int Main(String[] args)
 +
    {
 +
        Console.WriteLine("Hello, World!");
 +
         return 0;
 +
    }
 +
}
 
</source>
 
</source>

Revision as of 19:27, 4 February 2008

<source lang="csharp"> // Hello World in Microsoft C# ("C-Sharp").

using System;

class HelloWorld {

   public static int Main(String[] args)
   {
       Console.WriteLine("Hello, World!");
       return 0;
   }

} </source>