How to deep copy array items with unknown type at runtime without using MakeGenericMethod?
问题 I got an System.Object (AKA object) that is simple one-dimensional array (I do a lot of checks). The element type will become known at runtime. I have to do two types of copying the array: 1) deep copy array itself but shallow copy items: - this has answer here: my previous question 2) deep copy array itself as well as its items: I did it like that: public object FullDeepCopy_SimpleArray(object original) { Type elementType = original.GetType().GetElementType(); return GetType() .GetMethod(