Click here to Skip to main content
16,005,552 members
Home / Discussions / C#
   

C#

 
GeneralRe: Search in C# files Pin
Heath Stewart18-Dec-03 2:53
protectorHeath Stewart18-Dec-03 2:53 
GeneralScope Pin
Ken Galer17-Dec-03 2:32
Ken Galer17-Dec-03 2:32 
GeneralRe: Scope Pin
Philip Fitzsimons17-Dec-03 2:42
Philip Fitzsimons17-Dec-03 2:42 
GeneralRe: Scope Pin
Ken Galer17-Dec-03 3:10
Ken Galer17-Dec-03 3:10 
GeneralRe: Scope Pin
Member 26118817-Dec-03 5:04
Member 26118817-Dec-03 5:04 
GeneralRe: Scope Pin
Heath Stewart17-Dec-03 5:01
protectorHeath Stewart17-Dec-03 5:01 
GeneralRe: Scope Pin
Ken Galer17-Dec-03 6:35
Ken Galer17-Dec-03 6:35 
GeneralRe: Scope Pin
Heath Stewart17-Dec-03 6:43
protectorHeath Stewart17-Dec-03 6:43 
The size of the source file doesn't matter. It's the size of the compiled Type, but this really isn't an issue, either. The only thing that dictates how big an instance of that Type is (an object) is the fields that are holding data. The System.Windows.Forms.Control Type is huge, for example, but an instance of one really would be that big at all.

Yeah, using #regions effectively is a good idea. I use them a lot and they definitely help, as does the member bar at the top of the source file window.

The partial classes mention elsewhere in this thread can help this problem, but it really doesn't matter. The main reason for partial classes is for the Avalon presentation layer in Longhorn, where part of the class is defined by XAML, and part of the class is defined in the code-behind file, almost like in ASP.NET except the .aspx file is actually compiled at run-time into a class that derives from your code-behind class, which derives from System.Web.UI.Page (the same concept is true for .ascx files as well). That's just derivitive classes, though, not partial classes.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
QuestionSerialize WebControls.Unit class? Pin
milkydb16-Dec-03 23:54
sussmilkydb16-Dec-03 23:54 
AnswerRe: Serialize WebControls.Unit class? Pin
Heath Stewart17-Dec-03 4:59
protectorHeath Stewart17-Dec-03 4:59 
GeneralType.GetInterface Method Pin
Jinwah16-Dec-03 23:30
Jinwah16-Dec-03 23:30 
GeneralRe: Type.GetInterface Method Pin
Heath Stewart17-Dec-03 4:55
protectorHeath Stewart17-Dec-03 4:55 
QuestionHow to clean the console ? Pin
Matthieu.C16-Dec-03 22:14
Matthieu.C16-Dec-03 22:14 
AnswerRe: How to clean the console ? Pin
Elph16-Dec-03 23:50
Elph16-Dec-03 23:50 
QuestionHow can i get i ShowDialog method in UserControl??? Pin
lupa_842116-Dec-03 21:12
lupa_842116-Dec-03 21:12 
AnswerRe: How can i get i ShowDialog method in UserControl??? Pin
Member 26118816-Dec-03 22:08
Member 26118816-Dec-03 22:08 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
lupa_842117-Dec-03 0:49
lupa_842117-Dec-03 0:49 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
Not Active17-Dec-03 3:28
mentorNot Active17-Dec-03 3:28 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
Heath Stewart17-Dec-03 4:48
protectorHeath Stewart17-Dec-03 4:48 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
leppie17-Dec-03 6:32
leppie17-Dec-03 6:32 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
Heath Stewart17-Dec-03 6:37
protectorHeath Stewart17-Dec-03 6:37 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
leppie17-Dec-03 6:58
leppie17-Dec-03 6:58 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
leppie17-Dec-03 11:20
leppie17-Dec-03 11:20 
GeneralRe: How can i get i ShowDialog method in UserControl??? Pin
Member 26118817-Dec-03 4:56
Member 26118817-Dec-03 4:56 
Generalho wto get ADO info Pin
xprtguro16-Dec-03 21:09
xprtguro16-Dec-03 21:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.