4,088 reputation
11127
bio website blog.svick.org
location Czech Republic
age 26
visits member for 3 years, 11 months
seen 1 hour ago

Jul
26
revised Server should accumulate several requests and to retrurn response for all
rm tag from title; rm thanks
Jul
21
comment Implementing IEnumerator without using 'yield return' in c#
@GIRI GetEnumerator() is invoked either when you use foreach or when you manually call it (though this is very rare in normal code). If you want to use your collection in a for loop, you should write an indexer, and possibly also implement something like IList<T> or IReadOnlyList<T>.
Jul
21
comment Implementing IEnumerator without using 'yield return' in c#
@GIRI You mean when Mylist is ImplementList? No, why would that use IEnumerable or IEnumerator? You're just incrementing an integer.
Jul
21
answered Implementing IEnumerator without using 'yield return' in c#
Jul
21
comment Deferred execution of Dispose for IDisposable objects
Why use a timer when you can call Dispose() immediately from another thread?
Jul
21
revised Best patterns for variable-scope disposables
rm tag from title; formatting
Jul
21
revised Confusion in my If Else ,Else If Condition. in C#
i think short-circuiting was meant here too
Jul
20
comment Comparing two software versions in C#
These look too diverse for a single algorithm to work.
Jul
20
revised If the UI layer depends on the Application layer. Who starts the application/process?
rm tag from title
Jul
19
revised Solution for multiple versions of one Software
rm thanks
Jul
17
comment How do sockets work over wireless connections?
Is your question about sockets or websockets? Those are two very different things.
Jul
17
revised How do sockets work over wireless connections?
rolled back to a previous revision
Jul
17
revised How do sockets work over wireless connections?
this question is not about sockets, it's about websockets
Jul
16
comment Are the over-usage of delegates a bad thing?
If you're using multicast delegates outside of events, you're most likely doing something wrong.
Jul
16
answered Is it good practice declare a function inline?
Jul
16
comment Is it good practice declare a function inline?
I think newMethod was supposed to be a local variable (hence “inline”), not a field.
Jul
16
comment Managing debug information of C program for Debugger
Why do you think a single large (how large exactly?) Dictionary would be an issue?
Jul
15
revised Wrapping constructor arguments
link formatting
Jul
15
comment Property or Method to obtain information about a collection?
@BenVoigt IsEmpty can be implemented in O(1): return !collection.GetEnumerator().MoveNext(), just like the non-delegate overload of Any() already is.
Jul
15
revised Property or Method to obtain information about a collection?
rm tag from title; link formatting