BioWare Interview Question: What's the difference between... | Glassdoor

Interview Question

Software Engineer Interview Austin, TX

What's the difference between a class and struct in C#? In


Interview Answer

1 Answer


The difference between class and structure in C# is that you use structs to define value types (as opposed to reference types declared by classes). In C++, a struct is the same thing as a class with a default accessibility level of public.

Stack Overflow on Mar 12, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.