FlashKeepers

C# · College · College and University

C# V: .NET Runtime and Memory

CLR, JIT, garbage collection generations, IDisposable, using, Span, boxing, assemblies and NuGet.

About this set

35 basic cards for College C#. It opens with "What is the CLR?" and "What does JIT compilation do?". Study it alongside the other College sets below.

35 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is the CLR?
Show answerCommon Language Runtime, the virtual machine that executes .NET code
What does JIT compilation do?
Show answerConverts IL (intermediate language) to native machine code at runtime
Name the three generations of garbage collection
Show answerGeneration 0, Generation 1, Generation 2
What is GC Generation 0?
Show answerThe youngest generation, collected most frequently
What is GC Generation 1?
Show answerThe middle generation, collected less frequently than Gen 0
What is GC Generation 2?
Show answerThe oldest generation, collected least frequently
What is the Large Object Heap (LOH)?
Show answerA separate heap for objects 85KB or larger
What is the IDisposable pattern?
Show answerA pattern for explicitly freeing unmanaged resources
What does Dispose() method do?
Show answerReleases unmanaged resources held by an object
What is the using statement?
Show answerA statement that automatically calls Dispose() when the scope exits
What is using declaration in C# 8+?
Show answerDeclares a variable and automatically calls Dispose() at end of scope
What is Span<T>?
Show answerA stack-allocated safe abstraction over a contiguous block of memory
What is boxing?
Show answerConverting a value type to a reference type on the heap
What is unboxing?
Show answerConverting a reference type back to its original value type
What is an assembly?
Show answerA compiled .NET unit containing IL code and metadata

20 more cards in the app

Study this set free