¡@

Home 

c# Programming Glossary: propertyvalue1

Possible pitfalls of using this (extension method based) shorthand

http://stackoverflow.com/questions/123088/possible-pitfalls-of-using-this-extension-method-based-shorthand

want to access properties on possibly null objects string propertyValue1 null if myObject1 null propertyValue1 myObject1.StringProperty.. null objects string propertyValue1 null if myObject1 null propertyValue1 myObject1.StringProperty int propertyValue2 0 if myObject2 null.. it. You can shorten this to some extent with an inline if propertyValue1 myObject null myObject.StringProperty null However this is a..