jonassvensson4

Untitled

Apr 22nd, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1.  
  2.  
  3. void pinggrej(string bosktav,string ip)
  4. {
  5.  
  6. Console.WriteLine("Router : "+ bokstav);
  7.  
  8.  
  9. }
  10. List<string> iplista= new List();
  11. iplista.add("192.1");
  12. iplista.add("192.2");
  13.  
  14.  
  15. foreach(string dettaip from iplista)
  16. pinggrej("A",dettaip);
  17.  
  18. pinggrej("A","192.....");
  19. pinggrej("B","192.....");
  20. pinggrej("A","192.....");
Advertisement
Add Comment
Please, Sign In to add comment