~/talk

Write C# Structs (Not Always) Classes

TalkinDutchat SDN Event 2019 · on Friday, 2019-12-13· [c-sharp]
links:none on file
slides:none on file

Explains how to write C# structs correctly and why to prefer them sometimes over classes, covering memory savings and performance benefits as well as pitfalls like boxing, equality and defensive copies. Uses new C# 7 and 8 language features to address those problems and shows practical patterns for building structs instead of defaulting to classes.

AI-written summary · about

~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.