Click here to Skip to main content
15,879,184 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Usage of Lambda Expression Pin
Niladri_Biswas25-Jun-09 6:03
Niladri_Biswas25-Jun-09 6:03 
QuestionCombobox control..........?? [modified] Pin
Hum Dum24-Jun-09 23:09
Hum Dum24-Jun-09 23:09 
AnswerRe: Combobox control..........?? Pin
padmanabhan N24-Jun-09 23:31
padmanabhan N24-Jun-09 23:31 
GeneralRe: Combobox control..........?? Pin
Hum Dum25-Jun-09 1:33
Hum Dum25-Jun-09 1:33 
QuestionReceive mail by C# code Pin
khosnur24-Jun-09 22:45
khosnur24-Jun-09 22:45 
AnswerRe: Receive mail by C# code Pin
stancrm24-Jun-09 23:00
stancrm24-Jun-09 23:00 
GeneralRe: Receive mail by C# code Pin
khosnur6-Jul-09 23:45
khosnur6-Jul-09 23:45 
GeneralRe: Receive mail by C# code Pin
khosnur6-Jul-09 23:47
khosnur6-Jul-09 23:47 
QuestionImage processing problem... Pin
S K Y24-Jun-09 22:08
S K Y24-Jun-09 22:08 
AnswerRe: Image processing problem... Pin
Christian Graus24-Jun-09 22:34
protectorChristian Graus24-Jun-09 22:34 
GeneralRe: Image processing problem... Pin
S K Y24-Jun-09 23:28
S K Y24-Jun-09 23:28 
GeneralRe: Image processing problem... Pin
Luc Pattyn24-Jun-09 23:57
sitebuilderLuc Pattyn24-Jun-09 23:57 
QuestionHow to retrive and save the attachments of the Mail from Pop3. Pin
Nekkantidivya24-Jun-09 21:32
Nekkantidivya24-Jun-09 21:32 
AnswerRe: How to retrive and save the attachments of the Mail from Pop3. Pin
Christian Graus24-Jun-09 21:46
protectorChristian Graus24-Jun-09 21:46 
Questionimporting table to another database Pin
leone24-Jun-09 20:36
leone24-Jun-09 20:36 
AnswerRe: importing table to another database Pin
Mycroft Holmes24-Jun-09 20:45
professionalMycroft Holmes24-Jun-09 20:45 

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.