Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: gui problem [modified] Pin
padmanabhan N25-Jun-09 2:14
padmanabhan N25-Jun-09 2:14 
GeneralRe: gui problem Pin
J4amieC25-Jun-09 2:27
J4amieC25-Jun-09 2:27 
AnswerRe: gui problem PinPopular
Pete O'Hanlon25-Jun-09 2:47
mvePete O'Hanlon25-Jun-09 2:47 
GeneralRe: gui problem Pin
Rajesh R Subramanian25-Jun-09 2:52
professionalRajesh R Subramanian25-Jun-09 2:52 
GeneralRe: gui problem Pin
Pete O'Hanlon25-Jun-09 3:03
mvePete O'Hanlon25-Jun-09 3:03 
GeneralRe: gui problem Pin
Rajesh R Subramanian25-Jun-09 3:09
professionalRajesh R Subramanian25-Jun-09 3:09 
QuestionDate Format Pin
kibromg25-Jun-09 1:43
kibromg25-Jun-09 1:43 
AnswerRe: Date Format Pin
stancrm25-Jun-09 1:48
stancrm25-Jun-09 1:48 
AnswerRe: Date Format Pin
Manas Bhardwaj25-Jun-09 2:03
professionalManas Bhardwaj25-Jun-09 2:03 
QuestionHow to confirm user & pass with active directory Pin
treuveni25-Jun-09 1:31
treuveni25-Jun-09 1:31 
AnswerRe: How to confirm user & pass with active directory Pin
J4amieC25-Jun-09 1:52
J4amieC25-Jun-09 1:52 
QuestionKeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Mc_Topaz25-Jun-09 1:12
Mc_Topaz25-Jun-09 1:12 
AnswerRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
OriginalGriff25-Jun-09 1:20
mveOriginalGriff25-Jun-09 1:20 
GeneralRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Mc_Topaz25-Jun-09 6:08
Mc_Topaz25-Jun-09 6:08 
AnswerRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
stancrm25-Jun-09 1:50
stancrm25-Jun-09 1:50 
GeneralRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Mc_Topaz25-Jun-09 6:12
Mc_Topaz25-Jun-09 6:12 
AnswerRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Dan Neely25-Jun-09 2:33
Dan Neely25-Jun-09 2:33 
GeneralRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Mc_Topaz25-Jun-09 6:48
Mc_Topaz25-Jun-09 6:48 
QuestionPrinter Job status using PJL Pin
koppewar25-Jun-09 0:51
professionalkoppewar25-Jun-09 0:51 
Questiondrag and drop file and/or add note to window form calendar Pin
kyi kyi25-Jun-09 0:07
kyi kyi25-Jun-09 0:07 
QuestionHow to check if documents on shared folders are availiable? Pin
Succodimele24-Jun-09 23:42
Succodimele24-Jun-09 23:42 
AnswerRe: How to check if documents on shared folders are availiable? Pin
Sk9325-Jun-09 0:12
Sk9325-Jun-09 0:12 
AnswerRe: How to check if documents on shared folders are availiable? Pin
Mycroft Holmes25-Jun-09 0:49
professionalMycroft Holmes25-Jun-09 0:49 
QuestionUsage of Lambda Expression Pin
HarishBhattbhatt24-Jun-09 23:41
HarishBhattbhatt24-Jun-09 23:41 
I am an experienced developer in c# and working on LOB application from last 7 Years, I have some issues in understanding usage of Lambda expression in programming.

As far as i understand it is useful in case of

1) Working with LINQ (Grouping, Select,Where etc..)
2) We can pass Lambda expression to any function as argument, so it can be used in place of delegate or anonymous function or normal function.
3)We can create generic lambda function which takes any datatype variable as argument and can return any datatype
e.g.
MyFirstLambdaFunc((val1,val2) => val1+val2)
public R MyFirstLambdaFunc<R,T>(Func<T,T,R> lambdaexpression,T x,T y)
{
R Result = lambdaexpression(x, y);
return Result;
}
4)Coding can be compact

Now the question is that

1) Are there any other advantages ?
2) When we pass lambda expression as function we can pass only single line operation?
3) Can anybody have some case study or some practical example document ?

Thanks in Advance

Harish Bhattbhatt
AnswerRe: Usage of Lambda Expression Pin
led mike25-Jun-09 4:47
led mike25-Jun-09 4: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.