Practicing and exploring
Test your knowledge and understanding by answering some questions, getting some hands-on practice, and exploring with deeper research into the topics in this chapter.
Exercise 6.1 – Test your knowledge
Use the web to answer the following questions:
- What are the four parts of a .NET assembly and which are optional?
- What can an attribute be applied to?
- What are the names of the parts of a version number and what do they mean if they follow the rules of semantic versioning?
- How do you get a reference to the assembly for the currently executing console app?
- How do you get all the attributes applied to an assembly?
- How should you create a custom attribute?
- What class do you inherit from to enable dynamic loading of assemblies?
- What is an expression tree?
- What is a source generator?
- Which interface must a source generator class implement and what methods are part of that interface? ...