public
I have implemented a callback method in the static class containing the main method. The class is called EntreeConsole.
Here is the prototype of the callback method :
private
I have written a statement to affect the callback method to the delegate as I read in a C# book. Unfortunately, the statement generates an error before execution. Here is the statement :
ArchiveurPerfsBJ
The error description informs me that ArchiveurPerfsBJ.VNoteArchive (i.e. The event delegate) is unreachable because of its protection level.
I don't know how to solve this problem so I have posted this message to get some help.