Created
February 21, 2020 20:45
-
-
Save tarrzan33/5d4625212c9193ee439134fbc9d05967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_______________Option1 | |
Foo() | |
{ | |
row = EFGetRow(); | |
if (row != null) | |
{ | |
vm.UserName = row.Screen_Name; | |
} | |
} | |
_______________Option2 | |
Foo() | |
{ | |
row = EFGetRow(); | |
if (row == null) | |
{ | |
return; | |
} | |
vm.UserName = row.Screen_Name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment