Hello World

ASP.NET
C#

Using the "script" tag to compile at run time


Hello World and lots of stuff


CODE:

<script runat="server">
  public string ServerSideFunction(string input)
  {
    return "Hello " + input;
  }
</script>


<% =ServerSideFunction("World and lots of stuff") %>