Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public class LineInfo
  2. {
  3. public static string ArrivalDate { get; set; }
  4. public static string ArrivalFlightNumber { get; set; }
  5. }
  6.  
  7. public static class BufferInfo
  8. {
  9. private static Dictionary<String, LineInfo> bufferInfo = new Dictionary<String, LineInfo>();
  10.  
  11. public static void Assign(string Key, LineInfo lineInfo)
  12. {
  13. string myStr = lineInfo.ArrivalFlightCode;
  14.  
  15. bufferInfo.Add(Key, lineInfo);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement