Could you tell me if there is any difference between the two types of casting:
(int)MyVar and static_cast<int>MyVar.

If no, could you tell me why static_cast has been used instead of (directly) casting method as that former does above ?
Thank you very much...

Regards,
Nina.