I want to supply unknown "object" and return the value of one of its members. Response is required in C#.
Generically I guess I'm looking for the code to this method public static object GetObjectMemberValue (object myObject, string memberName)
More specifically I'm doing this for resource strings in Silverlight and need to write this method. It resides in a common project is used against a few different Resx dictionaries, thus I don't have access to the type information. public static string GetString (object StringResources, string ResourceId)
Thank you!