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...