Implementing Code Reusability in C# 9
Code reusability is one of the most important topics in software architecture. This chapter aims to discuss ways to enable code reuse, as well as to help you understand how .NET 5 goes in this direction to solve the problem of managing and maintaining a reusable library.
The following topics will be covered in this chapter:
- Understanding the principles of code reuse
- The advantages of working with .NET 5 versus .NET Standard
- Creating reusable libraries using .NET Standard
Although code reuse is an exceptional practice, as a software architect you must be aware when this is important for the scenario you are dealing with. Many good software architects agree that there is a lot of overengineering due to trying to make things reusable even though they are often single-use or not understood well enough.