static void Main() { EvilClass obj = new EvilClass(); Console.WriteLine(obj.GetType().IsInterface); // True }
private void ClearViewItem_Click(object sender, RoutedEventArgs e) { var evilClass = new EvilClass(); evilClass.ClearMainWindow(); }
static void Main() { EvilClass obj = new EvilClass(); Console.WriteLine(obj.GetType().IsInterface); // True }
private void ClearViewItem_Click(object sender, RoutedEventArgs e) { var evilClass = new EvilClass(); evilClass.ClearMainWindow(); }