❔ C# Interfaces
https://www.youtube.com/watch?v=D6d8CIVoYSI&list=PLAC325451207E3105&index=30
I was watching this video and when coding on my VS code saw that some of the errors popping up in the video, which is an old C# playlist has changed now, and was curious on what the changes were
kudvenkat
YouTube
Part 30 - C# Tutorial - Interfaces in c#.avi
In this part of the c sharp tutorial we will learn about interfaces
Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/06/part-30-c-tutorial-interfaces-in-c.html
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube chan...
8 Replies
For example, I found out now that Interfaces cannot have instance fields but can have static fields
And there is no compiler error when I give an Interface's method an implementation
what has changed from this
C# 8 happened
https://learn.microsoft.com/en-us/dotnet/csharp/advanced-topics/interface-implementation/default-interface-methods-versions goes over it a bit
Safely update interfaces using default interface methods in C#
This advanced tutorial explores how you can safely add new capabilities to existing interface definitions without breaking all classes and structs that implement that interface.
thx
If you don't have any follow up questions, make sure to $close the thread
Use the
/close
command to mark a forum thread as answeredWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.