// Example application for code from // http://www.pobox.com/~skeet/csharp/parameters.html // // To compile the code, run (from a command prompt // with the appropriate environment variables set): // csc Example1.cs // // To run the code after compilation, just run Example1.exe using System; using System.Text; public class Example1 { public static void Main (string[] args) { StringBuilder first = new StringBuilder(); StringBuilder second = first; first.Append ("hello"); first = null; Console.WriteLine (second); } }