O
Optimus
Hi everyone,
I got a question about a syntax in c# which I'm not
familiar with.
And then I've got some sample source code as shown below.
public class Window: System.Windows.Forms.Form
{
public Window(){
// some code here
}
~Window()
{
windowFont.Dispose();
}
}
Is that the symbol ~ which prior to the class name identify
the beginning of dispose method?
Anyone've got an idea?
Regards,
Sarun Sermsuwan
I got a question about a syntax in c# which I'm not
familiar with.
And then I've got some sample source code as shown below.
public class Window: System.Windows.Forms.Form
{
public Window(){
// some code here
}
~Window()
{
windowFont.Dispose();
}
}
Is that the symbol ~ which prior to the class name identify
the beginning of dispose method?
Anyone've got an idea?
Regards,
Sarun Sermsuwan