static IEnumerable <int> LocalIterator() { ConsoleTrace.PrintCurrentMethod(); var rnd = new Random(); for (int i = 0; i < 3; i++) { yield return(rnd.Next(1, 101)); } }
static void Main() { ConsoleTrace.PrintCurrentMethod(); Console.WriteLine(); Console.WriteLine("Press any key to connect to the server. Make sure that it's running first!"); Console.ReadKey(intercept: true); new BasicClient().Run(); new TimerClient().Run(); new BasicFeedAggregationClient().Run(); new AdvancedClient().Run(); new DuplexClient().Run(); new ChatClient().Run(); new MaliciousClient().Run(); }
static string LocalStaticMethod(int ignoredParameter) { ConsoleTrace.PrintCurrentMethod(); return("(N"); }
public int LocalInstanceMethod() { ConsoleTrace.PrintCurrentMethod(); return(100); }