C# flash cards: Freelancer level

50 C# terms at the Freelancer level, as flash cards.

Updated

Terms in this deck

Anonymous Type
A compiler-created read-only type defined from an object initializer.
Binary Search - C#
A Binary Search is a searching algorithm used to search a collection or array.
Boxing
Wrapping a value type inside an object reference.
Build Configuration
A named set of build settings, commonly Debug or Release.
Code Analyzer
A tool that examines C# code and reports correctness, design, or style issues.
Collection
An object that stores and organizes a group of values.
Contravariance
Allowing a broader generic input type to be used where a more specific type is expected.
Covariance
Allowing a more specific generic result type to be used where a broader type is expected.
Debug Configuration
Build settings that favor debugging information over optimization.
Debugger
A tool for pausing a program and inspecting its execution state.
Deconstruction
Splitting a tuple or compatible object into separate variables.
Delegate
A type-safe reference to one or more methods with a particular signature.
Dependency
External code that a project needs to compile or run.
Dictionary<TKey, TValue>
A collection that associates unique keys with values.
Event
A member that lets an object notify subscribed code that something happened.
Event Handler
A method or delegate that runs when an event is raised.
Extension Method
A static method callable as though it were an instance method of another type.
FirstOrDefault()
A LINQ operation returning the first item, or the type's default value when none exists.
Generic Constraint
A where clause limiting which types may be used for a generic parameter.
Generics
Type parameters that let classes and methods work safely with different types.
GroupBy()
A LINQ operation that gathers items sharing the same key.
HashSet<T>
An unordered collection that keeps only unique values.
ICollection<T>
An interface for a countable collection that can add, remove, and inspect items.
IEnumerable<T>
An interface for a sequence that can be visited one item at a time.
IEnumerator<T>
An interface for an object that moves through a sequence one item at a time.
Iterator
An object that visits collection elements one at a time.
Lambda Expression
A compact function value written with the => operator.
LinkedList<T>
A collection whose items are stored in connected nodes.
LINQ
C# query operations for filtering, transforming, grouping, and ordering data.
List<T>
A resizable, ordered collection accessed by zero-based index.
Logging
Recording structured runtime events to help operate and diagnose software.
Mock Object
A controlled stand-in used to verify how code interacts with a dependency.
Multicast Delegate
A delegate that invokes several methods in order.
NuGet
The package system used to distribute and install .NET libraries and tools.
NUnit
A .NET framework for organizing and running automated tests.
OrderBy()
A LINQ operation that sorts a sequence by a selected key.
Package Reference
A project-file entry identifying a NuGet package and version the project needs.
Query Expression
SQL-like C# syntax that the compiler translates into LINQ method calls.
Queue<T>
A first-in, first-out collection for values waiting to be processed.
Select()
A LINQ operation that transforms every item in a sequence.
Stack<T>
A last-in, first-out collection where the newest value is removed first.
Test Fixture
The known objects and data prepared for a test.
Tuple
A compact value that groups several values without defining a separate class.
Type Parameter
A placeholder type declared by a generic class, interface, or method.
Unboxing
The compiler's automatic conversion from a wrapper object to its primitive value.
Unit Test
A small automated check of one focused unit of behavior.
Value Tuple
The value-type implementation behind modern C# tuple syntax.
Where()
A LINQ operation that keeps only items satisfying a condition.
xUnit
A popular .NET framework for writing and running automated tests.
Yield Return
A statement that produces the next value from an iterator without building the whole sequence first.

Read them in the glossary