Advertisement
Guest User

Kurv.cs

a guest
Oct 29th, 2012
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Opgave7_1
  8. {
  9.     class Kurv
  10.     {
  11.         private List<List<string>> overliste = new List<List<string>>();
  12.         public List<List<string>> Overliste
  13.         {
  14.             get { return overliste; }
  15.             set { overliste = value; }
  16.         }
  17.  
  18.         public void AddKurv(List<string> list, List<List<string>> mlist)
  19.         {
  20.             mlist.Add(list);
  21.         }
  22.         public void VisKurv(List<List<string>> list)
  23.         {
  24.             Console.WriteLine("{0}", list[0][0]);
  25.         }
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement