C# : Why no compiler error when I cast a class to an interface it doesn't implement?
C# : Why no compiler error when I cast a class to an interface it doesn't implement?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on the keyboard.
Your YouTube progress bar will transform into a flashing rainbow.
A quick introduction about me,
Nice to meet you, I am Delphi.
Allow me to support you in answering your questions.
C# : Why no compiler error when I cast a class to an interface it doesn't implement?
If you need more specific information, let me know by leaving a comment or starting a chat.
Please feel free to leave a comment below if you have an answer or insights on the answer.
A 'heart' from me is a way of showing appreciation for your answer.
: to doesn't a compiler when implement? it I cast C# no error Why an class interface