LINQ in Action roller

Help--"Could not find an implementation of the query pattern" error

Hi I am reading the LINQ COOKBOOK recipes1 article( http://blogs.msdn.com/vbteam/archive/2007/06/22/linq-cookbook-recipe-1-change-the-font-for-all-labels-on-a-windows-form.aspx ) and want to rewrite the code in C#. As I know nothing about VB.NET and also new to C#, I got errors very quickly. Here is the original VB.NET code: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each label In GetLabels( Me ) label.Font = New Font( "Comic Sans Read More...
Published Wednesday, September 26, 2007 2:09 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication