page 1 of 1
Comments: 2 | Views: 418
I've tried the following...

void MyFunction<T1, T2>() where T1, T2 : struct {}

void MyFunction<T1, T2>() where T1: struct , T2 : struct {}

void MyFunction<T1, T2>() where T1: struct ,  where T2 : struct {}

...but alas, I'm stumped. Please help!
stevo_
stevo_
Human after all
void MyFunction() where T1 : struct where T2 : struct {} Commence self kick Wink
page 1 of 1
Comments: 2 | Views: 418
Microsoft Communities