C# : C# List Interface : why you cannot do `List IFoo foo = new List Bar ();`
C# : C# List Interface : why you cannot do `List IFoo foo = new List Bar ();`
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
I promised to share a hidden feature with you, and here it is.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress bar will transform into a flashing rainbow.
Here's a brief description of who I am,
Greetings, my name is Delphi.
I am at your disposal to help you with any questions you have.
C# : C# List Interface : why you cannot do `List IFoo foo = new List Bar ();`
Let me know if you have more specific questions or concerns by leaving a comment or starting a chat.
If you have knowledge to contribute or an answer to provide, we encourage you to comment below.
Your answer will be acknowledged and appreciated, and I will 'heart' it as a sign of gratitude.
IFoo List why = C# new Bar foo : `List List you ();` do C# Interface : cannot