Explicit Keyword in C#

added by jalpesh
3/21/2014 7:29:59 PM

0 Kicks, 52 Views

Yesterday, I have written a blog post about Implicit Keyword in C#. In today’s post we are going to learn about Explicit keyword in C#. Like Implicit keyword explicit keyword is also used for typecasting one class into another class. It is also a type conversion operator but rather then directly invoking it will invoke by cast. As per MSDN, The Explicit keyword declares a user defined type conversation operator that must be invoked with cast.


0 comments