var a = new A(); a.GetType().GetField("B").SetValue(a, 83); a.GetType().GetField("C").SetValue(a, 42); Assert.Equal(a.b, a.c);
Login in to like
Login in to comment
or Read more about C# Quizzes
Login in to like
Login in to comment