static void Main(string[] args)
 {
     using (SomeClass sc = new SomeClass())
     {
         string str = sc.DoSomething();
         sc.BlowUp();
     }
 }