Re: Same Class....Different File

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Daniel O'Connell [C# MVP] (onyxkirx_at_--NOSPAM--comcast.net)
Date: 04/30/04


Date: Thu, 29 Apr 2004 23:49:04 -0500


"Scatropolis" <chronos@frayed.net> wrote in message
news:eFoYZfmLEHA.2736@TK2MSFTNGP11.phx.gbl...
> Is there a way in C# to have more code of the same class in a different
> file?
> This would be mostly for organization.

Not currently. C# 2.0 is slated to have a feature called partial classes
which will allow you to split up a class among an arbitrary number of files.
>
> thanks