internal static void SetMemberValue(Object obj, String name, Object value){ if (obj is ScriptObject){ ((ScriptObject)obj).SetMemberValue(name, value); return; } LateBinding lb = new LateBinding(name, obj); lb.SetValue(value); }