<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Of Ones and Zeros &#187; .NET</title>
	<atom:link href="http://www.ofonesandzeros.com/category/technology/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ofonesandzeros.com</link>
	<description>a discussion of software and technology hosted by bryan napier</description>
	<lastBuildDate>Wed, 07 Apr 2010 23:14:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Microsoft releases new ASP.NET charting control for &#8230; FREE!</title>
		<link>http://www.ofonesandzeros.com/2008/11/30/microsoft-releases-new-aspnet-charting-control-for-free/</link>
		<comments>http://www.ofonesandzeros.com/2008/11/30/microsoft-releases-new-aspnet-charting-control-for-free/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 01:17:54 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2008/11/30/microsoft-releases-new-aspnet-charting-control-for-free/</guid>
		<description><![CDATA[This past week Scott Guthrie announced a new ASP.NET charting control from Microsoft for free.&#160; Details are in Scott&#8217;s blog posting, from the screen shots it looks quite capable.&#160; I&#8217;m anxious to have an opportunity to kick the tires on this control, thanks MS!
]]></description>
			<content:encoded><![CDATA[<p>This past week <a href="http://weblogs.asp.net/scottgu">Scott Guthrie</a> <a href="http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx">announced</a> a new ASP.NET charting control from Microsoft for free.&#160; Details are in Scott&#8217;s <a href="http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx">blog posting</a>, from the screen shots it looks quite capable.&#160; I&#8217;m anxious to have an opportunity to kick the tires on this control, thanks MS!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2008/11/30/microsoft-releases-new-aspnet-charting-control-for-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Linq Program</title>
		<link>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/</link>
		<comments>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 16:15:15 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2007/06/18/my-first-linq-program/</guid>
		<description><![CDATA[I successfully coded my very first LINQ program today, and man is it a doozie!  Observe:
class Program
{
    static void Main(string[] args)
    {
        List&#60;Student&#62; studentList = new List&#60;Student&#62;();

        studentList.Add(new Student("Charlie", "Brown"));
      [...]]]></description>
			<content:encoded><![CDATA[<p>I successfully coded my very first LINQ program today, and man is it a doozie!  Observe:</p>
<pre class="csharpcode"><span class="kwrd">class</span> Program
{
    <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
    {
        List&lt;Student&gt; studentList = <span class="kwrd">new</span> List&lt;Student&gt;();

        studentList.Add(<span class="kwrd">new</span> Student(<span class="str">"Charlie"</span>, <span class="str">"Brown"</span>));
        studentList.Add(<span class="kwrd">new</span> Student(<span class="str">"Drew"</span>, <span class="str">"Carrie"</span>));

        IEnumerable&lt;Student&gt; students =
            from
                Student
            <span class="kwrd">in</span>
                studentList
            <span class="kwrd">where</span>
                Student.LastName.Equals(<span class="str">"Brown"</span>)
            select
                Student;

        <span class="kwrd">foreach</span> (Student student <span class="kwrd">in</span> students)
        {
            Console.WriteLine(student.FirstName);
        }

        Console.ReadLine();
    }
}

<span class="kwrd">internal</span> <span class="kwrd">class</span> Student
{
    <span class="kwrd">private</span> <span class="kwrd">string</span> _firstName;
    <span class="kwrd">private</span> <span class="kwrd">string</span> _lastName;

    <span class="kwrd">public</span> Student(<span class="kwrd">string</span> firstName, <span class="kwrd">string</span> lastName)
    {
        _firstName = firstName;
        _lastName = lastName;
    }

    <span class="kwrd">public</span> <span class="kwrd">string</span> LastName
    {
        get { <span class="kwrd">return</span> _lastName; }
        set { _lastName = <span class="kwrd">value</span>; }
    }

    <span class="kwrd">public</span> <span class="kwrd">string</span> FirstName
    {
        get { <span class="kwrd">return</span> _firstName; }
        set { _firstName = <span class="kwrd">value</span>; }
    }
}</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p> Which when run looks like:</p>
<p><a href="/wp-content/uploads/2007/06/croppercapture3.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="/wp-content/uploads/2007/06/croppercapture3-thumb.jpg" border="0" alt="CropperCapture[3]" width="572" height="286" /></a></p>
<p>I&#8217;m excited by the possibilities this offers, and am anxious to have an opportunity to explore all LINQ has to offer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
