I'm confused which type I use to create model in project, Struct or Class? There're about ten struct and some collections. I'm a newbie.
3 Answers
You should always use classes as ViewModel or Model in WPF.
1 Comment
SubmarineX
Thank u, I'm reading.
You should never create a mutable struct.
View models should always be classes.
1 Comment
SubmarineX
Models is always classes, too?