means you need to be specific in the method call
.getBlahs<Collection<Blah>>()
Tuesday, June 23, 2015
The type arguments for method cannot be inferred from the usage
The type must be a reference type in order to use it as parameter 'T' in the generic type or method
usually just means you need to add where T : class
Thursday, June 18, 2015
JavaScript filter on an array
returns an array
Wednesday, June 17, 2015
Thursday, May 28, 2015
for missing taskbar in windows
for example after installing software ->
open task manager->start explorer
open task manager->start explorer
Thursday, May 21, 2015
mapping fake routes in MVC
routes.MapRoute(
"Boris",
"Boris/Show",
new
{
controller = "Herby",
action = "Index"
}
);
"Boris",
"Boris/Show",
new
{
controller = "Herby",
action = "Index"
}
);
if your'e lazy and have simple "and"s separated by "or"s
then neat "and"s and or"s work like parentheses
select * from
(
select 1 a , 'hi there' b , 102 c
union
select 2 a , 'hi there' b , 103 c
union
select 10 a , 'hi there' b , 103 c
union
select 9 a , 'hi there' b , 103 c
union
select 8 a , 'by there' b , 103 c
union
select 7 a , 'by there' b , 103 c
union
select 6 a , 'by there' b , 10 c
) as main
where b = 'by there'
and a=6
or a > 1
and a < 4
and b = 'hi there'
or a = 10
and b = 'hi there'
Subscribe to:
Comments (Atom)
