Language Feature Highlight: Local Type Inference in C# 3.0 and Visual Basic 9.0
Learn about local type inference in C# 3.0 and Visual Basic 9.0. Examine why it is relevant and the syntax for its use.
Learn about local type inference in C# 3.0 and Visual Basic 9.0. Examine why it is relevant and the syntax for its use.
C# 3.0 introduces lambda expressions, a more concise syntax for declaring method code inline where in the past you would have used a delegate function.
Converting between types is frequently a sticking point for coders new to mixing MFC and .NET. Tom Archer illustrates some basic conversions that will help you should you get stuck in a painful series of compiler error messages about type mismatches.
Retrieving application settings is a pretty common task that falls under the category of another of those tedious and repetitive tasks that programmers have to deal with. Explore a way to eliminate this tedious programming task through a combination of technologies.
Learn about attributes and how to create and attach them to various program entities within your programs. You also learn how to retrieve attribute information at run time.