python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
C# Combining using statement with IAsyncReader
I'm looking to combine an async fill operation with disposable.
class G
{
SqlConnection connection
SqlCommand command;
IAyncResult Begin(string connectionString)
{
this.connecti...
heyNow
Votes: 0
Answers: 0
Implementing IAsyncResult Begin/End Without Delegate.BeginInvoke()
I have a class which receives data though a socket and marshals the data to an object. Synchronously, it would look like this:
class SocketTest
{
private const int HEADER_LEN = 10;
Socket so...
stevep
Votes: 0
Answers: 0