TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Examples of Four New Features in C# 9 That Aren't in C# 8

1 pointsby flipchartover 4 years ago

1 comment

LandRover 4 years ago
&gt; Take the example above. We have a CameraProduct class that inherits the Product class.<p>&gt; Then, we have a CameraProductService class that inherits the ProductService class. Inside the ProductService class, we have an abstract method of GetProduct, that returns an instance of Product.<p>Almost reads like a parody (It&#x27;s ok, I&#x27;m mostly a C# dev, I&#x27;m allowed to make fun :\)