struct vs class in c#
I am little bit confused between when to use **struct** and when to use **class**. I know basically struct is ***value type*** and class is ***ref type***. So whenever you pass the value type to function it copies whole values to that local function memory and whenever pass objects of class to any function it just passes…