Guest User

Untitled

a guest
Feb 16th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Public Class Lists
  2.  
  3.  
  4. Public Shared Function InList(name As String, letter As Char, num As Int16, time As Date, inData As List(Of Inputs))
  5.  
  6. Dim i As Short = inData.Count
  7.  
  8. inData.Add(New Inputs)
  9.  
  10. inData.Item(i).Name = name
  11. inData.Item(i).Letter = letter
  12. inData.Item(i).Number = num
  13. inData.Item(i).Time = time
  14.  
  15. Return inData
  16.  
  17.  
  18. End Function
  19.  
  20.  
  21. Class Inputs
  22.  
  23. Public Property Name As String
  24. Public Property Letter As Char
  25. Public Property Number As Int16
  26. Public Property Time As Date
  27.  
  28.  
  29. End Class
  30.  
  31. End Class
Add Comment
Please, Sign In to add comment