.NET & C# ยท C#
How would you handle an interview scenario involving value types and reference types?
If changing one variable unexpectedly changes another, check whether both variables reference the same object. For value types, normal assignment creates an independent copy.