Last post Apr 02, 2012 09:50 AM by duttavr
Mar 24, 2012 04:11 PM|duttavr|LINK
What reference/assembly/namespace should we add to recognize async await operators in VS2011 ?
Mar 25, 2012 12:05 AM|gerrylowry|LINK
i'm wondering why you ask? let me explain.
if i want to use speech recognition in .NET 4.5, i would likely reference
OTOH, if i want to use the sizeof
operator keyword, it is not necessary to add any reference/assembly/namespace because
sizeof is part of the c# language.
The same applies to the operator keyword
await ... from
http://msdn.microsoft.com/en-us/library/hh156528(v=vs.110).aspx, you will note that async modifier is a
The asynchronous method in which await is used must be modified by the
Such a method, defined by using the async modifier, and usually containing
one or more await expressions, is referred to as an
sizeof, await, async, and other
C# Keywords do not require any reference/assembly/namespace beause they are part of the
References you may find useful:
"Asynchronous Programming with Async and Await (C# and Visual Basic)"
"Walkthrough: Writing an Async Program (C# and Visual Basic)"
Apr 02, 2012 09:50 AM|duttavr|LINK
I'm so sorry for the very late reply. Actually I solved it myself, but could not come back to this thread. Sorry for that.
That was my first async CTP program, actually it was my mystake I used await without async.
Many thanks for your reply.