CSharpFeeds - All your C# feeds in one place.

Monday, April 12, 2010

Ignoring parentheses

by Eric Lippert via Fabulous Adventures In Coding on 4/12/2010 1:53:00 PM

Yet another amusing question from StackOverflow: is there a difference between “return something;” and “return (something);” in C#? In practice, there is no difference. In theory there could be a difference. There are three interesting points in the C# specification where this could present a problem. First, conversion of anonymous functions to delegate types and expression trees. Consider the following: Func<int> F1() { return ()=>1; } Func<int> F2() { return (()=>1); } ...

[ read more ]

Ignoring parentheses

by Eric Lippert via Fabulous Adventures In Coding on 4/12/2010 1:53:00 PM

Yet another amusing question from StackOverflow: is there a difference between “return something;” and “return (something);” in C#? In practice, there is no difference. In theory there could be a difference. There are three interesting points in the C# specification where this could present a problem. First, conversion of anonymous functions to delegate types and expression trees. Consider the following: Func<int> F1() { return ()=>1; } Func<int> F2() { return (()=>1); } ...

[ read more ]

Get Ready For C# 4.0!

by Alexandra Rusina via C# Frequently Asked Questions : on 4/12/2010 9:30:00 AM

Visual Studio 2010 is here! And of course this means that C# 4.0 is also here. Let’s do a quick review of the new language features added in this release. Dynamic The dynamic keyword is a key feature of this release. It closes the gap between dynamic and statically-typed languages. Now you can create dynamic objects and let their types be determined at run time. With the addition of the System.Dynamic namespace, you can create expandable objects and advanced class wrappers, and you can provide i ...

[ read more ]

Announcing availability of Visual Studio 2010 and .NET Framework 4

by Somasegar via Somasegar's WebLog on 4/12/2010 4:01:00 AM

      I am very excited to announce the availability of Visual Studio 2010 and .NET Framework 4 on April 12th.    This represents the biggest tools release from Microsoft in many years.   To celebrate this with our customers and partners, we are holding 5 major launch events on April 12th in Beijing, China; Kuala Lumpur, Malaysia; Bangalore, India; London, UK; Las Vegas, USA; and in over 150 local events around the world.   The new release of Visual Studio 2 ...

[ read more ]

The Evolution Of C#

by Paulo Morgado via Paulo Morgado : C# on 4/12/2010 1:08:25 AM

The first release of C# (C# 1.0) was all about building a new language for managed code that appealed, mostly, to C++ and Java programmers. The second release (C# 2.0) was mostly about adding what wasn’t time to built into the 1.0 release. The main feature for this release was Generics. The third release (C# 3.0) was all about reducing the impedance mismatch between general purpose programming languages and databases. To achieve this goal, several functional programming features were added to ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us