Advertisement
Guest User

program_cs_kram1

a guest
Oct 24th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.63 KB | None | 0 0
  1. using System;
  2.  
  3. namespace AccountQuery
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             /*
  10.              * Eingabe des Pin`s
  11.              * Auslesung der Eingabe*/
  12. // er will englische Kommentare!
  13.  
  14.  
  15. // wieso großes C?
  16.             string Control = "";
  17.                 Control = Console.ReadLine();
  18.            
  19. // wieso nicht direkt IAccount account = new ProxyAccount (new Customer (Int32.Parse(Control))); ?!            
  20.             IAccount account;
  21.             account = new ProxyAccount (new Customer (Int32.Parse(Control)));
  22.             account.printBalance();
  23.  
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement