Posted on: 7/12/2013 8:41:48 PM | Views : 243

I have a base class that in written in VB.net. I created a C# class that is drived from that class. There is a property in VB.net that I need to assign value to it.
This is VB.net class with this property:
Public Property FilesToDownload() As ArrayList Get Return _filesToDownload End Get Set(ByVal Value As ArrayList) _filesToDownload = Value End Set End Property  
This property before was a writable property so I added Get to it to make it avaible to change.  In my C# class I try to set value like this:
 
downloader.FilesToDownload.Add("testFile.txt"); But I get this error: "Object reference not set to an instance of an object."
 
Also when I "Go to definition" from my C# class to FilesToDownload it goes to class[From metaData] and show ...

Go to the complete details ...