Question:
You need to retrieve all queued e-mail messages into a collection and ensure type safety. Which code segment should you use to define the signature of the GetQueuedEmailsFromDb() method in the Poller.vb file?
A Private Shared Function GetQueuedEmailsFromDb(ByVal queueID As Integer) As EmailMessages
B Private Shared Function GetQueuedEmailsFromDb(ByVal queueID As Integer) As Object()
C Private Shared Function GetQueuedEmailsFromDb(ByVal queueID As Integer) As IList(Of Object)
D Private Shared Function GetQueuedEmailsFromDb(ByVal queueID As Integer) As ArrayList
+ AnswerA
+ Report