Florian Rappl, Department of Theoretical Physics, University of Regensburg
Distinct()
Thread
represents a threadSystem.Threading
contains the class and moreStart()
will run the method in another threadThreadPool
for many threadslock
keywordlock
blocks usage on certain lines of codevar obj = new object();
lock(obj) { /* locked! */ }
Invoke()
methodDispatcher
propertySynchronizationContext
classCurrent
carries the sync. contextForm
instanceTask
classParallel.For()
for huge loopsAsParallel()
extensionawait
and async
async
we mark functions as being asynchronousawait
keywordTask
await
transforms a Task<T>
in T
a
in var a = await MyFoo();
of async Task<int>Foo()
will be an integertry-catch
Task.Run()
await
async void
should only be used with event handlersvoid
instead of Task
ComboBox
, TextBox
, Label
, Button
TabControl
, Panel
, GroupBox
NumericUpDown
, DateTimePicker
Component
Control
UserControl
ScrollableControl
Florian Rappl, MVP Visual C#