How do you declare and initialize a fixed-size array in C#?
Arrays in C# have a fixed size set at creation time, declared with square brackets after the element type, and can be initialized with a collection…
28 key C# questions with one-line answers, covering 14 topics, on a printable sheet. Read it the night before, or pin it next to your screen.
Arrays in C# have a fixed size set at creation time, declared with square brackets after the element type, and can be initialized with a collection…
A rectangular array (int[,]) has a fixed grid shape where every row has the same length; a jagged array (int[][]) is an array of arrays, where each…
await asynchronously waits for a Task, releasing the thread until it completes, then resumes the method; async marks a method that uses await and…
Task represents async work with no result; Task completes with a value of type T that you get by awaiting it.
The full sheet has 28 questions. Sign in (free) to open it and save it as a PDF.