csharpfritz / csharp_with_csharpfritz

Show notes, slides, and samples from the CSharp with CSharpFritz show
MIT License
659 stars 215 forks source link

Classes vs Structs 👀 #4

Closed cecilphillip closed 4 years ago

cecilphillip commented 4 years ago

I've been getting a lot of questions from students on the usage of class vs structs. We have a doc here that discusses the topic.

Personally, I don't think I've ever created a struct for a production application. I'd love to hear/see some practical usage of where one is better suited than the other.

csharpfritz commented 4 years ago

Let's do a whole stream JUST on structs. When to use them, the differences between structs and classes, etc.

cecilphillip commented 4 years ago

Perfect. I can use that video as a reference for our student partners

csharpfritz commented 4 years ago

We should also talk about Tuples

csharpfritz commented 4 years ago

Also talk about enums

csharpfritz commented 4 years ago

Add a section on creating Generic methods

Moving to #10