Assign: Object reference not set to an instance of an object.
I tried to assign to variable same message. I tried to use the below code always shows same message Assign: Object reference not set to an instance of an object.
After that you can use like Config("Apple").ToString to get the value Green. Since the value is not an Integer you need not use CInt. See the below image for better understanding.