.Net (C# Programing)
what is the main difference between struct and class why and when we can use struct instead of class.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeesh MenothPosted Dec 18, 2015, 10:16 PM
And the other polymorphism technique used for structures is implementing interfaces.
Vinoth RajendranPosted Dec 18, 2015, 1:04 PM
MahaPosted Dec 18, 2015, 11:01 AM
class is a reference type.
struct is a value type.
Praveen DhatrikaPosted Dec 18, 2015, 10:36 AM