static new void Main(string[] args) { TestAsync app = new TestAsync(); app.DownloadInventoryOnConnect = false; app.client.Objects.OnNewPrim += new NewPrimCallback(app.Objects_OnNewPrim); app.client.Objects.OnNewAvatar += new NewAvatarCallback(app.Objects_OnNewAvatar); app.Connect(args[0], args[1], args[2]); app.doStuff(); app.Disconnect(); System.Threading.Thread.Sleep(500); Console.WriteLine("Done..."); }