Type Basics Flashcards
1
Q
What is a predefined type in C#?
A
Predefined types (also called built-in types) are types that are specially supported by the compiler.
2
Q
What is the int type?
A
The int type is a predefined type for representing the set of integers that fit into 32 bits of memory, from −231 to 231−1.
3
Q
What is a top-level statement?
A
Top-level statements (from C# 9) let you avoid the baggage of a static Main method and a containing class.