Posted By: Jason Olson | Nov 11th, 2008 @ 9:15 AM | 90,905 Views | 16 Comments
The topic of "C# 4.0" is an area we've been diving into a bit lately. So we took this opportunity to sit down with Niner-regular Anders Hejlsberg and C# Community PM Charlie Calvert to dive into some of the most common questions we are hearing about C# 4.0 and the reasoning behind some of the answers.

If you are not familiar with C# 4.0 or want to dig into some other C# 4.0 resources, make sure to check out the following videos:
[PDC] The future of C#, Anders Hejlsberg
Inside C# 4.0
- C# 4.0: Meet the design team

Also make sure to check out Charlie's blog and some of the resources he and the team have made available on MSDN:
- New C# 4.0 Features Paper
- Covariance and Contravariance in C# 4.0
- Community Convergence 47


This is another Visual Studio 2010 and .NET Framework 4.0 Week Video. For other Visual Studio 2010 videos, check out the Visual Studio topic area here on Channel 9.
Rating:
3
0
Another great vid from Anders. I don't have an especially smart comment other than to say I appreciate these and look forward to the next time we see him on Ch9.
John Melville-- MD
John Melville-- MD
Equality Through Technology
Must come as a matter of taste.  I strongly prefer the XElement method to the VB inline method.

No difficulties in having to line up ending tags.  Its XML exploiting the C# parser.

Will Visual C++ status quote  be enough to overcome the appeal of the D programming language in 2010?or is C# going to be unleashed? 

Why doesn't Visual Studio provide for two forms of compilation.  For example the exiting just in time and full compilation of the MSIL to  machine code.  I really see that C++ at this stage only serves for the purpose of maintaining legacy code.  The incarnation of C++ was a hack and will continue to grow as a hack.  .Net languages (in particular C#) for one should take full charge of future development in both desktop, web and yes system development. D programming language is already making an impression on  a small but growing  C++ community.  D programming languages has syntactic appeal of C# and the horse power of C/C++.  So what is the constraint,  religion or technical feasibility. DotNet languages will be competing against the up an coming D programming languages sooner or later for development of system software and embedded systems. Again I say C++ is dead weight and should only be relevant for legacy code (in other words C++ will soon be Cobol).  C# (all .net lingos) can easily take the manto if Visual Studio provided for this option and full support for "producing"  applications that are true  platform independent. 

Well, I can see a some nice scenarios to use this.

But I had hoped for something much more powerful Smiley

private string Foo(int x)
{
    return x + 10;
}

public DoSomeThing(Method name)
{
    var fooValue = name(10);
}

public Caller()
{
    DoSomeThing("Foo");
}

That's what I call dynamic Big Smile OR even more useful, dynamics for class names also.

Really a good and interactive post, i think the post is informative and knowledge providing both in regard of current affairs and present economic Situations.  Free reminder

Microsoft Communities