static void Main(string[] args){
Student student = null;
using (student = new Student()) { Console.WriteLine("student is null:{0}\n",student == null); } Console.WriteLine("student is null:{0}\n",student == null);
}
public Student() { } ~Student() { Console.WriteLine("Start Execute Destructor...\n"); } public void Dispose(){ Console.WriteLine("Start Execute Dispose...\n"); }