What does this mean ~method( ){ } [duplicate]
Possible D开发者_JAVA技巧uplicate:
What does the tilde (~) mean in C#?
What is the meaing of ~ before a method?
I saw this like here:
~myDirect3dClass()
{
}
That's the destructor of a class, aka. the Finalizer.
That is a destructor.
That is a Destructor
method of a class. Destructors are used to destruct instances of classes.
精彩评论