Currently .. My code looks like this. Phone Numbers = x.PhoneGune First and last ()! = Null? PhoneNumber.firstOrDefault (). PhoneNumber: string.Empty, PhoneNumbers a ICollection & lt; PhoneNumber & gt; This is a , so I can not actually create a variable for it. Resharper is complaining that x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
PhoneNumbers a ICollection & lt; PhoneNumber & gt; This is a , so I can not actually create a variable for it. Resharper is complaining that x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
ICollection & lt; PhoneNumber & gt; This is a , so I can not actually create a variable for it. Resharper is complaining that x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
This is a , so I can not actually create a variable for it. Resharper is complaining that x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
, so I can not actually create a variable for it. Resharper is complaining that x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
Resharper is complaining that x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
x.PhoneNumbers.FirstOrDefault () can be zero, and to be honest, is not sold on the idea that let me do it twice The bar must be set to default first. Any other idea, I am thinking that there can be another lambda method, I can do something like that. phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
Any other idea, I am thinking that there can be another lambda method, I can do something like that.
phone number = x.phone phone. Select (PN = & gt; pn.PhoneNumber) .FirstOrDefault () ?? "",
No comments:
Post a Comment