Questions
After reading the chapter, you should be able to answer the following questions:
- True or False: We can only set the value to init-only setters during object initialization?
a. True
b. False
- True or False: Record types are basically class types?
a. True
b. False
- True or False: Top-level statements can be present in more than one file of an application?
a. True
b. False
- In which version of C# was pattern matching first introduced?
a. C# 9
b. C# 8
c. C# 1
d. C# 7