Skip to main content

Interfaces in C# 8.0 gets a makeover

Even today when I am in deep sleep and someone wakes me up and asks “Can C# Interfaces have any access modifiers?” My answer would be “Hell, NO“. As this is what stored very deep in my mind and being a programmer have learned this over the years. But the time has come to erase those memories as with C# 8.0, interfaces are getting a whole makeover. Therefore, our interfaces knowledge also needs to be revisited. C# 8.0 introduces a new feature called “Default implementations in interfaces” and this will change a lot of things. In this post, we’ll see this new feature and what you need to know now about interfaces. Read More