Please enable JavaScript.
Coggle requires JavaScript to display documents.
C# (Threads, LINQ, OOP, Types, Async, Delegate) - Coggle Diagram
C#
Threads
foreground
background
Factors
throughput
pools
closures
principle thread
thread local storage - their own copy of static fields
LINQ
Why
standardised API
type safe
query code completion
Execution
Deferred
Execution is when variable is
enumerated
2 types
Streaming
Non-streaming
Immediately
'anything that returns a scalar'
Force execution of any query via ToArray ToList
'Materialisation'
Returns an Enumerable
IEnumerable - in memory
IQueryable - remote
OOP
methods
internal
protected
public
private
polymorphism
static
if doesn't need to access instance specific data, can probably be static
Factory methods
Helper methods
Utility methods
abstract
classes
methods, no bodies
fields
properties
interfaces
Types
types of types
Value
Structs
ref
Reference
anonymous
Arrays (TODO)
Dictionaries
Async
Task
Faulting
Delegate
Action
'managed function pointer'