Click here to Skip to main content
15,892,480 members
Home / Discussions / C#
   

C#

 
GeneralRe: WMI Win32_Product speed.... Pin
Eddy Vluggen11-Apr-10 5:15
professionalEddy Vluggen11-Apr-10 5:15 
GeneralRe: WMI Win32_Product speed.... Pin
Jacob Dixon11-Apr-10 5:18
Jacob Dixon11-Apr-10 5:18 
GeneralRe: WMI Win32_Product speed.... Pin
Eddy Vluggen11-Apr-10 5:24
professionalEddy Vluggen11-Apr-10 5:24 
AnswerRe: WMI Win32_Product speed.... Pin
Moreno Airoldi10-Apr-10 22:37
Moreno Airoldi10-Apr-10 22:37 
GeneralRe: WMI Win32_Product speed.... Pin
Jacob Dixon11-Apr-10 5:07
Jacob Dixon11-Apr-10 5:07 
GeneralRe: WMI Win32_Product speed.... Pin
harold aptroot11-Apr-10 10:41
harold aptroot11-Apr-10 10:41 
GeneralRe: WMI Win32_Product speed.... Pin
Jacob Dixon11-Apr-10 12:11
Jacob Dixon11-Apr-10 12:11 
NewsWhirlwind Screencasts Explore New Features in C#4 Pin
brucedkyle10-Apr-10 13:10
brucedkyle10-Apr-10 13:10 
Stuart Celarier[^] and I continue the set of screencasts on Channel 9[^] about new language features in C#. It's a Whirlwind Tour of the important language features of C# 4. Stuart describes each major feature and why it is useful. But he doesn't get into best practices nor suggested usages. Just the facts about each feature.

Whirlwinds are bite-sized webcasts, generally shorter than 15 minutes. You can start anywhere in the series to learn about the parts you're most interested in.

What's new in C# 4

  • Whirlwind 9 - Introducing C# 4[^]. This session reviews the history of C# and provides an overview of the features in the upcoming screencasts.
  • Whirlwind 10 - Dynamic Lookup[^]. This session on dynamic lookup introduces a new pseudo-type dynamic into the C# type system. It's used to call dynamic languages, COM object, or XML using types that are not known at compile time (aka duck typing). Stuart introduces the concepts of dynamic lookup and how you use it in your C# code.
  • Whirlwind 11 - Named & Optional Parameters[^]. Stuart describes the feature that VB programmers have known, using parameters by name and having default values set on parameters that are not specified.


Three more coming later this week.

  • Whirlwind 12 - More COM Love. Stuart describes the importance of these two new features in C# for COM Interop.
    ref keyword is optional if you are not going to use a return value when calling COM.
    No Primary Interop Assembly (PIA) is required.
  • Whirlwind 13 - Covariance & Contravariance. These features provide way for you to access collections of derived classes and base classes.
  • Whirlwind 14 – Events. Stuart shows how the compiler handles eventing. The compiler no longer sets locks on events, instead uses a compare and swap technique. Stuart compares C# from .NET 3.5 and .NET 4 to show the differences and explains the implications for your existing code.



Learn more about Microsoft emerging techologies[^] on the Microsoft blog for independent software vendors (ISVs) in the United States.

GeneralRe: Whirlwind Screencasts Explore New Features in C#4 Pin
Not Active10-Apr-10 14:48
mentorNot Active10-Apr-10 14:48 
GeneralRe: Whirlwind Screencasts Explore New Features in C#4 Pin
Mycroft Holmes10-Apr-10 21:58
professionalMycroft Holmes10-Apr-10 21:58 
QuestionUsing inline code/macros Pin
Trollslayer10-Apr-10 11:19
mentorTrollslayer10-Apr-10 11:19 
AnswerRe: Using inline code/macros Pin
Not Active10-Apr-10 11:25
mentorNot Active10-Apr-10 11:25 
GeneralRe: Using inline code/macros Pin
Trollslayer10-Apr-10 11:42
mentorTrollslayer10-Apr-10 11:42 
GeneralRe: Using inline code/macros Pin
harold aptroot10-Apr-10 12:03
harold aptroot10-Apr-10 12:03 
GeneralRe: Using inline code/macros Pin
Trollslayer10-Apr-10 12:13
mentorTrollslayer10-Apr-10 12:13 
GeneralRe: Using inline code/macros Pin
harold aptroot10-Apr-10 12:52
harold aptroot10-Apr-10 12:52 
GeneralRe: Using inline code/macros Pin
Trollslayer10-Apr-10 13:26
mentorTrollslayer10-Apr-10 13:26 
AnswerRe: Using inline code/macros Pin
Luc Pattyn10-Apr-10 12:10
sitebuilderLuc Pattyn10-Apr-10 12:10 
GeneralRe: Using inline code/macros Pin
DaveyM6910-Apr-10 12:42
professionalDaveyM6910-Apr-10 12:42 
GeneralRe: Using inline code/macros Pin
PIEBALDconsult10-Apr-10 17:05
mvePIEBALDconsult10-Apr-10 17:05 
GeneralRe: Using inline code/macros Pin
DaveyM6911-Apr-10 3:05
professionalDaveyM6911-Apr-10 3:05 
GeneralRe: Using inline code/macros Pin
PIEBALDconsult10-Apr-10 16:55
mvePIEBALDconsult10-Apr-10 16:55 
GeneralRe: Using inline code/macros Pin
Luc Pattyn10-Apr-10 21:50
sitebuilderLuc Pattyn10-Apr-10 21:50 
QuestionWhat connection strings does the DbConnection class support? Pin
Christopher Stratmann10-Apr-10 10:26
Christopher Stratmann10-Apr-10 10:26 
AnswerRe: What connection strings does the DbConnection class support? Pin
PIEBALDconsult10-Apr-10 17:03
mvePIEBALDconsult10-Apr-10 17:03 

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.