title: Kotlin's data class == C#'s struct?
body: <p>I used C# before and there we can define a <code>struct</code> which will be a value type. I'm learning Kotlin now and as far as I know kotlin <code>data-class</code> compares by value, can copy by value etc. Found some discussions online about this but it wasn't straightforward and I'd like someone skilled in C# and Kotlin to clear this up: can I interpret Kotlin's <code>data class</code> like a C# <code>struct</code> and call it a day? If no, what are the differences? </p>