<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'partial class in c#' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'partial class in c#' posted on the 'C#' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2008 Programmers Heaven</copyright>
    <pubDate>Sun, 06 Jul 2008 18:22:21 -0700</pubDate>
    <lastBuildDate>Sun, 06 Jul 2008 18:22:21 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>partial class in c#</title>
      <link>http://www.programmersheaven.com/mb/csharp/370665/370665/ReadMessage.aspx</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;partial class in c#&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 28 Mar 2008 at 2:16 AM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;&lt;br /&gt;
 what is partial classes  in c#&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 28 Mar 2008 02:16:21 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: partial class in c#</title>
      <link>http://www.programmersheaven.com/mb/csharp/370665/370668/ReadMessage.aspx#370668</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: partial class in c#&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 28 Mar 2008 at 2:59 AM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;: &lt;br /&gt;
:  what is partial classes  in c#&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.google.com/search?q=partial+class+c%23"&gt;http://www.google.com/search?q=partial+class+c#&lt;/a&gt;&lt;br /&gt;
http://msdn2.microsoft.com/en-us/library/wa80x488(VS.80).aspx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Red;"&gt;Good luck!&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: Blue;"&gt;Hackman&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 28 Mar 2008 02:59:19 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: partial class in c#</title>
      <link>http://www.programmersheaven.com/mb/csharp/370665/371142/ReadMessage.aspx#371142</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: partial class in c#&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 12 Apr 2008 at 5:25 PM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;: &lt;br /&gt;
:  what is partial classes  in c#&lt;br /&gt;
: &lt;br /&gt;
Put simply (and it is really simple ;) it allows code completely defining class members (fields, methods, events and properties) to span multiple files, rendering the programmer in control of code layout.&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Sat, 12 Apr 2008 17:25:50 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Re: partial class in c#</title>
      <link>http://www.programmersheaven.com/mb/csharp/370665/371277/ReadMessage.aspx#371277</link>
      <description>&lt;div class="BoardMessageAreaPrinterFriendly"&gt;
&lt;h2 class="BoardMessageSubjectPrinterFriendly"&gt;Re: partial class in c#&lt;/h2&gt;
&lt;div class="BoardMessageInfoPrinterFriendly"&gt;Posted by  on 16 Apr 2008 at 8:35 PM&lt;/div&gt;
&lt;div class="BoardMessageBodyPrinterFriendly"&gt;: &lt;br /&gt;
:  what is partial classes  in c#&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
It is possible to split the definition of a class or a struct, or an interface over two or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled. There are several situations when splitting a class definition is desirable:&lt;br /&gt;
&lt;br /&gt;
When working on large projects, spreading a class over separate files allows multiple programmers to work on it simultaneously.&lt;br /&gt;
&lt;br /&gt;
When working with automatically generated source, code can be added to the class without having to recreate the source file. Visual Studio uses this approach when creating Windows Forms, Web Service wrapper code, and so on. You can create code that uses these classes without having to edit the file created by Visual Studio.&lt;br /&gt;
&lt;br /&gt;
To split a class definition, use the partial keyword modifier, as shown below:&lt;br /&gt;
&lt;br /&gt;
public partial class Employee&lt;br /&gt;
{&lt;br /&gt;
    public void DoWork()&lt;br /&gt;
    {&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public partial class Employee&lt;br /&gt;
{&lt;br /&gt;
    public void GoToLunch()&lt;br /&gt;
    {&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Brad Wang&lt;br /&gt;
.NET Freelancer from China&lt;/div&gt;&lt;/div&gt;</description>
      <pubDate>Wed, 16 Apr 2008 20:35:17 -0700</pubDate>
      <category>C#</category>
    </item>
  </channel>
</rss>