Strona głównaUżytkownik

pjsen | użytkownik

pjsen
pjsen
275
3973 dni, 15 minut temu
24 czerwca, 2013
dotnetomaniak.pl

If you work on small and relatively simple projects (in terms of number of components) you may not encounter this limitation. But in any non trivial ‘line of business’ application it is very likely that sooner or later you will come across this troublesome problem: Visual Studio refuses to open a project when the length of its (or any of its references) file system path is longer than 260 characters.

Tagi: .Net, VS, Windows
Źródło: blog.pjsen.eu
Dziel się z innymi:
The limit of 260 characters path length in Visual Studio and mysterious error message | PJSen Blog

Inne 3963 dni, 4 godziny, 26 minut temu pjsen 118 źrodło rozwiń

This time I would like to point out the behavior, that should be absolutely clear to any C# developer. When an exception is thrown inside try..finally block (without catch), and consequently in the scope of a using statement, it is bubbled up to the caller, rather than handled in any way.

Tagi: C#
Źródło: blog.pjsen.eu
Dziel się z innymi:
[EN] Little semantic pitfall of try..finally

Sztuka programowania 4095 dni, 6 godzin, 3 minuty temu pjsen 101 źrodło rozwiń

If you were asked to mention new features of C# 5.0, then you would probably say, first of all, async / await. However, on MSDN there is list of changes that could hardly be considered as well-known, even after almost 1 year after .NET 4.5 RTM was published. In this post I briefly explain one of them, that in my opinion is worth remembering.

Tagi: C#
Źródło: blog.pjsen.eu
Dziel się z innymi:
Less known feature of C# 5.0 — modified closure behaviour | PJSen Blog

Sztuka programowania 4143 dni, 13 godzin, 36 minut temu pjsen 181 źrodło rozwiń

I would like this blog post to serve as a quick reference that recalls the basic concept of covariant and contravariant type parameters of generic interfaces in the C# language.I tried to keep the example as simple as possible. Included comments explain the key points. No long stories and no dissertations.

Tagi: C#, generics
Źródło: blog.pjsen.eu
Dziel się z innymi:
[EN] Interface type parameter covariance and contravariance in C# | PJSen Blog

Sztuka programowania 4158 dni, 5 godzin, 20 minut temu pjsen 63 źrodło rozwiń