Click here to Skip to main content
15,917,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Not Active21-Aug-10 13:34
mentorNot Active21-Aug-10 13:34 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Ravi Bhavnani22-Aug-10 4:42
professionalRavi Bhavnani22-Aug-10 4:42 
GeneralRe: prevent form resizing on titlebar double clicks Pin
Not Active21-Aug-10 13:29
mentorNot Active21-Aug-10 13:29 
Questioncombobox Tab problem Pin
Jassim Rahma21-Aug-10 11:55
Jassim Rahma21-Aug-10 11:55 
AnswerRe: combobox Tab problem Pin
Luc Pattyn21-Aug-10 12:17
sitebuilderLuc Pattyn21-Aug-10 12:17 
AnswerRe: combobox Tab problem Pin
OriginalGriff21-Aug-10 22:18
mveOriginalGriff21-Aug-10 22:18 
QuestionDelegate casting/conversion Pin
DaveyM6921-Aug-10 5:26
professionalDaveyM6921-Aug-10 5:26 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 5:42
harold aptroot21-Aug-10 5:42 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 5:59
professionalDaveyM6921-Aug-10 5:59 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:24
harold aptroot21-Aug-10 6:24 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 6:28
professionalDaveyM6921-Aug-10 6:28 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:33
harold aptroot21-Aug-10 6:33 
GeneralRe: Delegate casting/conversion Pin
DaveyM6921-Aug-10 6:40
professionalDaveyM6921-Aug-10 6:40 
GeneralRe: Delegate casting/conversion Pin
harold aptroot21-Aug-10 6:45
harold aptroot21-Aug-10 6:45 
QuestionThreading for multicore applications Pin
Steven Solberg21-Aug-10 5:20
Steven Solberg21-Aug-10 5:20 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 5:44
harold aptroot21-Aug-10 5:44 
GeneralRe: Threading for multicore applications [modified] Pin
Steven Solberg21-Aug-10 6:13
Steven Solberg21-Aug-10 6:13 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 6:42
harold aptroot21-Aug-10 6:42 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 6:51
Steven Solberg21-Aug-10 6:51 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:02
harold aptroot21-Aug-10 7:02 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:05
Steven Solberg21-Aug-10 7:05 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:11
harold aptroot21-Aug-10 7:11 
I was thinking about something like this:
C#
public delegate TResult Func<TResult>();
public delegate TResult Func<T, TResult>(T arg);
public delegate TResult Func<T1, T2, TResult>(T1 arg1, T2 arg2);
public delegate TResult Func<T1, T2, T3, TResult>(T1 arg1, T2 arg2, T3 arg3);
public delegate TResult Func<T1, T2, T3, T4, TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4);
public delegate TResult Func<T1, T2, T3, T4, T5, TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5);
public delegate TResult Func<T1, T2, T3, T4, T5, T6, TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6);

When you use them, you won't have to say new Func<type1, type2, type3 .. >(args), at least not since VS08 (this kind of type inference does not work yet in VS05)
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:25
Steven Solberg21-Aug-10 7:25 
GeneralRe: Threading for multicore applications Pin
harold aptroot21-Aug-10 7:27
harold aptroot21-Aug-10 7:27 
GeneralRe: Threading for multicore applications Pin
Steven Solberg21-Aug-10 7:47
Steven Solberg21-Aug-10 7:47 

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.