4,368 reputation
11329
bio website blog.svick.org
location Czech Republic
age 26
visits member for 4 years
seen 11 hours ago

Sep
13
comment Are EventHandler<T> and IObservable<T> interchangable?
I don't think that IObservable<T> has to be UI-specific.
Sep
13
revised Custom Video Player
rm thanks
Sep
12
awarded  Nice Answer
Sep
11
revised Intentionally incorrect use of language features, specifically “ref” in C#, as a hint to colleagues
corrected terminology; link formatting
Sep
11
revised What does it mean when some technology is a “standard”?
rm thanks
Sep
11
comment What is exaclty Timer Deamon in windows? how can i get that using C#?
I don't quite understand the question. Where did you read about the "Timer Daemon"? Daemon is a terminology commonly used in Unix, Windows calls them services. Also, a Google search for "Windows Timer Daemon" doesn't seem to return anything relevant.
Sep
8
awarded  Yearling
Sep
1
comment What optimizations can be done for soft real-time code in C#?
@Doval AFAIK the CLR doesn't have this optimization, instances of reference types are always allocated on the heap.
Aug
31
comment Interface design where functions need to be called in a specific sequence
What stops someone from doing module->GetResource()->Configure(nullptr)?
Aug
31
answered What optimizations can be done for soft real-time code in C#?
Aug
31
comment Is there a better alternative than abusing the IDisposable pattern?
using also doesn't guarantee that the resource is previously undeclared: var resource = new Resource(); using (resource) { … } resource.Boom();
Aug
31
comment Algorithm to generate N random numbers between A and B which sum up to X
@CharlesE.Grant Sure it does have a solution: of all the quintuples that sum to the desired number, pick one with uniform probability.
Aug
22
comment Interface (contract), Generics (universality), and extension methods (ease of use). Is it a right design?
@Magus Except Cast() won't call overloaded cast operators, so it won't work here.
Aug
20
revised What to Return with Async CRUD methods
rm tag from title
Aug
20
comment What to Return with Async CRUD methods
@RualStorge If the non-async version returns T, the async version should return Task<T>. Whether T should be int or bool or whatever has nothing to do with async.
Aug
18
revised Implementation of instance testing in Java, C++, C#
rm thanks
Aug
17
comment How can I set a time limit for a game?
C# console applications are not very suitable for this kind of UI. Have you considered writing this as a GUI application, using something like Winforms or WPF?
Aug
17
revised How can I set a time limit for a game?
rm signature
Aug
17
comment Replaceable parameter syntax meaning
Didn't the book mention it previously, when talking about Console? (Also, technically, there is no "Console object", since Console is a static class.)
Aug
17
comment There's a most performant way to check that a collection has exactly 1 element?
@EsbenSkovPedersen That's not what the documentation says: "InvalidOperationException: The input sequence contains more than one element."