Can this test pass?
 
var a = new A(); 

a.GetType().GetField("B").SetValue(a, 83); 
a.GetType().GetField("C").SetValue(a, 42); 

Assert.Equal(a.b, a.c);
 
Explanation
It can if A is a structure.
C#
C# Quiz
Learn C# Online

or Read more about C# Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback