Reflection/List methods: Difference between revisions

m
C# improved output
m (C# improved output)
Line 21:
 
foreach (var method in typeof(TestForMethodReflection).GetMethods(flags))
Console.WriteLine(method.Name);
}
Line 36:
{{out}}
<pre>
Void MyPublicMethod()
Void MyPrivateMethod()
Void MyPublicStaticMethod()
Void MyPrivateStaticMethod()
 
//If we do not use BindingFlags.DeclaredOnly, we also get:
System.String ToString()
Boolean Equals(System.Object)
Int32 GetHashCode()
System.Type GetType()
Void Finalize()
System.Object MemberwiseClone()</pre>
 
=={{header|Clojure}}==
196

edits