开发者

What does this mean ~method( ){ } [duplicate]

This question already has answers here: Closed 11 years ago.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜