What are value types and reference types?

Entry C#

Answer

Value types: store data directly (int, bool, double, struct). Reference types: store a reference to memory (class, interface, array, string).

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice