Click here to Skip to main content
15,912,329 members

Comments by Member 9242374 (Top 1 by date)

Member 9242374 12-Jul-12 14:40pm View    
Thank you for your thorough explanation, the generic parameter in ClassB is indeed used in some other instance variables in ClassA but I did not include them to keep the sample short. And in the real case, we only want to fetch the value using one specific non generic type FieldInfo instead of iterate through all the fields. someone ported the whole architecture to C# from java so it does seems to need some tweak.