CSharp examples for System.Reflection:Type
Get Nested Type
using System.Threading.Tasks; using System.Text; using System.Runtime.Serialization; using System.Runtime.CompilerServices; using System.Reflection.Emit; using System.Reflection; using System.Linq; using System.IO;// w w w . j ava 2 s. c om using System.Globalization; using System.Collections.Generic; using System; public class Main{ public static Type GetNestedType(this Type type, string name) { var info = type.GetTypeInfo(); var ret = info.GetNestedType(name); return ret; } }