Bool c# function error

studio
variable

#1

i had used c# boolean returning function, but i had the following error:

Object reference not set to an instance of an object.

i had intiated the variable to false


#2

“Object reference not set to an instance of an object.” Before using any object need to be initialized, otherwise you will get this error. Please provide more details i’ll try to help-thanks


#3


#4

its difficult to know from your screen-shot, pls provide xaml file, if not shareable here, pls send to me clicking the Message button


#5

@abdel, can you share the contents of your assignment to ‘bool3’? It starts with ‘vr1.ExtractPage(Pa’ in the screenshot.
Regards,
burque505