Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brgdotnet

ASKER

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