using System; public class NotDisposible{} public class MainClass { public static void Main(string[] args) { // Uncomment to trigger compile time error. // using(NotDisposible x = new NotDisposible()){} } }