
NonPublic Method Invocation - Part #3
By: a guest on
Jan 5th, 2012 | syntax:
C# | size: 0.46 KB | hits: 67 | expires: Never
// Program.cs
namespace Reflection
{
using System;
using System.Reflection;
class Program
{
static void Main(string[] args)
{
Invoker invoker = new Invoker();
SomeClass someClass = new SomeClass(invoker);
foreach (string result in invoker.GetResults())
{
Console.WriteLine(result);
}
Console.ReadKey();
}
}
}