internal static object RandomVal(Type tp) { Randomm rndm = new Randomm(); if (tp != null) { return(rndm.GetType().GetMethod("Next" + tp.Name).Invoke(rndm, new object[] { })); } else { return(""); } }
internal static object RandomVal(Type tp) { Randomm rndm = new Randomm(); if (tp != null) return rndm.GetType().GetMethod("Next" + tp.Name).Invoke(rndm, new object[] { }); else return ""; }