~/talk

C# for C++ programmers, C# basics, C# vs. C++

Talkat CppNorth 2023 · 2023-07-17..07-19· [c-and-cpp, dotnet]
links:none on file
slides:none on file

If you know C++, expect concrete contrasts: classes are reference types while structs are value types, so passing a class is by reference and structs copy; C# has garbage collection and IDisposable + using rather than deterministic RAII; delegates map to function pointers, properties replace trivial getters/setters, and extension methods add helpers without changing types; ref/out and nullable operators (? and ?.) enforce intent; generics resemble templates but lack partial specialization and some non-type parameters.

AI-written summary · about

  1. 0:00Introduction to C# for C++
  2. 2:58Basic C# syntax differences
  3. 8:39C# conciseness and lambdas
  4. 10:08Properties and encapsulation
  5. 14:02Function arguments and ref/out
  6. 18:24Advanced syntax features
  7. 27:40Reference types vs value types
  8. 29:25Memory management and disposal
  9. 35:24Exception handling and wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.