P
P
ProblemBook.NET
Search…
⌃K
P
P
ProblemBook.NET
Search…
⌃K
ProblemBook.NET
LANGS
Задачник.NET
Math
Oop
«InheritanceNestedClass» (Задача)
«OverloadResolutionBasic» (Решение)
«OverloadResolutionOverride» (Решение)
«OverloadResolutionBasic» (Задача)
«OverloadResolutionOverride» (Задача)
«OverloadResolutionInheritance» (Решение)
«OverloadResolutionInheritance» (Задача)
«StaticFieldInGenericType» (Решение)
«StaticFieldInGenericType» (Задача)
«InheritanceNestedClass» (Решение)
ValueTypes
Strings
Linq
Multithreading
Summary
Введение
ProblemBook.NET
Attribution-NonCommercial-NoDerivatives 4.0 International
Powered By
GitBook
«StaticFieldInGenericType» (Задача)
Что выведет следующий код?
class
Foo
<
T
>
{
public
static
int
Bar
;
}
void
Main
()
{
Foo
<
int
>
.
Bar
++
;
Console
.
WriteLine
(
Foo
<
double
>
.
Bar
);
}
Решение
Previous
«StaticFieldInGenericType» (Решение)
Next
«InheritanceNestedClass» (Решение)
Last modified
3yr ago