5 posts about Objects in C# by 4 contributors.
Know Objects in C#? Share what you know with developers who are learning it.
A lot of time you get a requirement to return different kind of object from a single method. Is it possible? Yes there are ways by which you can deliver different objects on run time and dynamic is one of those solution.
In this article, we are going to compare two objects of the same class having collection property or multiple collection properties.
There are many ways to approach object instantiation. In this article we'll cover a few of the patterns used to instantiate objects. In this final article in the series, we'll be looking at how avoid instantiation altogether.
Requirements come like this that you have multiple roles in an organization. Now based on the role you want to return different profiles of same data like for some user you want to show Full data and for some you want to return the medium amount of same data and for some user you want to show only minimal attributes of same data.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article