Dim s As String = “abcde”
Dim mb As MemoryBlock
mb = s
’ mb.Size = 5 (1 byte for each character)
The above code works and stores a memory block for the created string.
As you can see we can create an object “mb” without the “New” keyword and this works
However when i tried to insert a class in my project , I had to instantiate objects with the New keyword unlike MemoryBlock Class otherwise it threw NilObjectException error*
Please help me understand this.