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.
source https://www.c-sharpcorner.com/article/how-to-use-dynamic-to-return-different-objects-on-runtime-in-c-sharp/
No comments:
Post a Comment