.NET news » Search results
Search results for query "lambda" (8):
Using Nested Lambda Functions to Implement Numerical Algorithms
For numerical computations, coding with lambda functions can substitute for the want of nested methods in C#.
Delegates in C# - attempt to look inside. Part 4
Classic, generic, lambda. Different code technique
Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
A comparative look at lambdas in C++ and C# with focus on the differences and similarities in lambda usage across the languages and their variants.
New C# 3.0 Language Features
Learn about some of the new features in C# 3.0 including automatic properties, collection initializers, extension methods, lambda expressions and anonymous types.
Knockout Style Observables in XAML
Implementing field level change notification in WPF, and how a Lambda Expression can be used to specify a composite property that raises change notifications automatically whenever an associated property changes.
C# 3.0 Syntax Additions-Design Guidelines
C# 3.0 includes a few syntactical additions to the language. For the most part, Microsoft added these language additions to support Language Integrated Query (LINQ). These features include (but are not limited to) lambda expressions, extensions methods, anonymous types, implicitly typed local variables, automatic properties, and object initializers.
VB's Statically Typed Wrapper for Dynamic Code
Visual Basic (in some of its forms) has always been Microsoft’s choice in dynamic quarter. With the latest release of Visual Basic 9.0 (comes with Visual Studio 2008), dynamic features of VB have been further improved. So, in VB 9.0 you can use extension methods, local variable type inference, lambda expressions and others that make VB even more dynamic. What’s unique about VB is that dynamic behavior can be controlled with a simple directive..
Using lambdas for WPF animation
It’s fairly easy to create and animate a graphical primitive, say by moving it from point A to point B at constant speed. But what if you need to position several graphical objects in a particular arrangement and then animate them in a non-linear fashion? Neither Silverlight nor WPF has built-in functions for this. In this article, I’ll demonstrate ways in which one can create objects and animations dynamically using lambda-delegates and higher-order functions.
1


Syndicate