❔ Assign result from await to a variable

Is there a difference between those two calls?

var awaitable = await GetObject(); otherObject.IntProperty = awaitable.IntProperty; // vs. otherObject.IntProperty = (await GetObject()).IntProperty;
Was this page helpful?