是否有可能做線沿線的東西: type t = int;//this would be a function which identifies what type the next argument is
if(t == int)
printf("%d", va_arg(theva_list, t));
在一個比較瑣碎的方式?我所知道的唯一可以容納一個類型的對象是type_info,
我有一個object obj傳遞給輔助方法。 public static MyTagGenerateTag<T>(this HtmlHelper htmlHelper, T obj /*, ... */)
{
Type t = typeof(T);
foreach (PropertyInfo prop in t.GetProperties())
{
o