Question:You write the following code. public delegate void FaxDocs(object sender, FaxArgs args);
You need to create an event that will invoke FaxDocs. Which code segment should you use? (VB.Net) 

A Public Shared Event Fax As FaxDocs 

B Public Shared Event FaxDocs As Fax 

C Public Class FaxArgs
Inherits EventArgs
Private coverPageInfo As String
Public Sub New(coverInfo As String)
Me.coverPageInfo = coverPageInfo
End Sub
Public ReadOnly Property CoverPageInformation() As String
Get
Return Me.coverPageInfo
End Get
End Property
End Class 

D Public Class FaxArgs
Inherits EventArgs
Private coverPageinfo As sting
Public ReadOnly Property CoverPageInformation() As String
Get
Return Me.coverPageInfo
End Get
End Property
End Class 

+ Answer
+ Report
Total Preview: 947

Copyright © 2024. Powered by Intellect Software Ltd