Click here to Skip to main content
15,892,768 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to set a specific NumberFormat for a whole project Pin
lugu239-Feb-09 19:40
lugu239-Feb-09 19:40 
Questionhow to specify the T Generic type for a class at runtime or from parameter [modified] Pin
Feras Mazen Taleb8-Feb-09 18:17
Feras Mazen Taleb8-Feb-09 18:17 
AnswerRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Dave Kreskowiak9-Feb-09 2:03
mveDave Kreskowiak9-Feb-09 2:03 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
supercat99-Feb-09 8:21
supercat99-Feb-09 8:21 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb9-Feb-09 10:04
Feras Mazen Taleb9-Feb-09 10:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Dave Kreskowiak9-Feb-09 12:03
mveDave Kreskowiak9-Feb-09 12:03 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb9-Feb-09 20:02
Feras Mazen Taleb9-Feb-09 20:02 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.25-Feb-09 8:34
Curtis Schlak.25-Feb-09 8:34 
So I fired up Snippet Compiler[^], added System.Core.dll as a reference, and wrote this little snippet of code:

public class Base<t>
{
	public Func<t,> GetFilter()
	{
		return delegate(T t) { return true; };
	}
}

public class BaseCotnrol<t> : UserControl
{
	Base<t> foo;
}</t></t></t>


It compiled just fine. Could you post the compiler error?

"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty

GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb25-Feb-09 10:16
Feras Mazen Taleb25-Feb-09 10:16 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.25-Feb-09 13:28
Curtis Schlak.25-Feb-09 13:28 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb26-Feb-09 8:01
Feras Mazen Taleb26-Feb-09 8:01 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.26-Feb-09 8:27
Curtis Schlak.26-Feb-09 8:27 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb26-Feb-09 8:41
Feras Mazen Taleb26-Feb-09 8:41 
AnswerRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.26-Feb-09 9:04
Curtis Schlak.26-Feb-09 9:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb27-Feb-09 9:40
Feras Mazen Taleb27-Feb-09 9:40 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.27-Feb-09 10:04
Curtis Schlak.27-Feb-09 10:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb27-Feb-09 10:11
Feras Mazen Taleb27-Feb-09 10:11 
QuestionCreating a new Custom Data Processing Extension for Sharepoint (integrating SSO component) Pin
Simon Woods8-Feb-09 11:13
Simon Woods8-Feb-09 11:13 
QuestionRPC Thread Pin
skmckkie7-Feb-09 2:41
skmckkie7-Feb-09 2:41 
AnswerRe: RPC Thread Pin
N a v a n e e t h8-Feb-09 15:26
N a v a n e e t h8-Feb-09 15:26 
AnswerRe: RPC Thread Pin
«_Superman_»8-Feb-09 17:38
professional«_Superman_»8-Feb-09 17:38 
QuestionCrystal Report Indian Language Problem Pin
harsh_c6-Feb-09 22:27
professionalharsh_c6-Feb-09 22:27 
AnswerRe: Crystal Report Indian Language Problem Pin
lalit.k.bhatia15-Mar-10 3:03
lalit.k.bhatia15-Mar-10 3:03 
QuestionAuto-insert comments with interface stubs? Pin
Gregory Gadow6-Feb-09 4:17
Gregory Gadow6-Feb-09 4:17 
AnswerRe: Auto-insert comments with interface stubs? Pin
Curtis Schlak.25-Feb-09 8:36
Curtis Schlak.25-Feb-09 8:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.