Link to home
Create AccountLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

asked on

Question about logical operand.

I am looking at some VB.net code and see this line of code ==>   var type = fInfo?.FieldType ?? pInfo.pType;

I know this is a logical comparison statement, but what does the first question mark mean (finfo?.FieldType)

Can a VB.net expert help me figure that out?
SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of brgdotnet

ASKER

Both answers were high quality. Thanks.
Not a problem brgdotnet, glad to help.