Click here to Skip to main content
14,391,954 members
   

C#

 
GeneralRe: Data type mismatch in update query Pin
Eddy Vluggen23-Jul-19 4:00
mveEddy Vluggen23-Jul-19 4:00 
GeneralRe: Data type mismatch in update query Pin
Member 1326108423-Jul-19 4:31
MemberMember 1326108423-Jul-19 4:31 
GeneralRe: Data type mismatch in update query Pin
Eddy Vluggen23-Jul-19 7:05
mveEddy Vluggen23-Jul-19 7:05 
GeneralRe: Data type mismatch in update query Pin
Member 1326108423-Jul-19 8:09
MemberMember 1326108423-Jul-19 8:09 
GeneralRe: Data type mismatch in update query Pin
Member 1326108423-Jul-19 8:48
MemberMember 1326108423-Jul-19 8:48 
GeneralRe: Data type mismatch in update query Pin
Eddy Vluggen24-Jul-19 1:10
mveEddy Vluggen24-Jul-19 1:10 
AnswerRe: Data type mismatch in update query Pin
Luc Pattyn23-Jul-19 8:44
sitebuilderLuc Pattyn23-Jul-19 8:44 
QuestionThis is a style question regarding partial classes Pin
honey the codewitch20-Jul-19 11:40
Memberhoney the codewitch20-Jul-19 11:40 
I know partial classes were primarily introduced to facilitate code generation but I use them on those occasions when I have to include a lot of tightly coupled, but loosely feature related items to a class.

Like, for my Context Free Grammar class (always referred to as a CFG in compsci circles) i have
Cfg.cs
Cfg.Validation.cs
Cfg.Computation.cs
Cfg.Symbols.cs
etc.

each one being partial class Cfg

Am I crazy for doing this?

Normally I like to spread features across several different classes but sometimes it just doesn't make sense to do so. This is one of those cases.

I could use regions to accomplish some of the source segregation but I find partial classes make moving from section to section easier in devstudio
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

AnswerRe: This is a style question regarding partial classes Pin
BillWoodruff20-Jul-19 12:04
mveBillWoodruff20-Jul-19 12:04 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch20-Jul-19 12:07
Memberhoney the codewitch20-Jul-19 12:07 
GeneralRe: This is a style question regarding partial classes Pin
BillWoodruff20-Jul-19 18:53
mveBillWoodruff20-Jul-19 18:53 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch20-Jul-19 19:10
Memberhoney the codewitch20-Jul-19 19:10 
GeneralRe: This is a style question regarding partial classes Pin
#realJSOP21-Jul-19 4:35
mve#realJSOP21-Jul-19 4:35 
AnswerRe: This is a style question regarding partial classes Pin
Bernhard Hiller21-Jul-19 21:54
MemberBernhard Hiller21-Jul-19 21:54 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch21-Jul-19 22:05
Memberhoney the codewitch21-Jul-19 22:05 
GeneralRe: This is a style question regarding partial classes Pin
Bernhard Hiller21-Jul-19 22:35
MemberBernhard Hiller21-Jul-19 22:35 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch21-Jul-19 22:40
Memberhoney the codewitch21-Jul-19 22:40 
Questionhow to read data type in excel Pin
rs1919-Jul-19 7:54
Memberrs1919-Jul-19 7:54 
AnswerRe: C# Pin
Dave Kreskowiak19-Jul-19 9:14
mveDave Kreskowiak19-Jul-19 9:14 
GeneralRe: C# Pin
rs1919-Jul-19 10:38
Memberrs1919-Jul-19 10:38 
GeneralRe: C# Pin
Dave Kreskowiak19-Jul-19 10:49
mveDave Kreskowiak19-Jul-19 10:49 
GeneralRe: C# Pin
BillWoodruff20-Jul-19 7:41
mveBillWoodruff20-Jul-19 7:41 
GeneralRe: C# Pin
Dave Kreskowiak20-Jul-19 14:30
mveDave Kreskowiak20-Jul-19 14:30 
GeneralRe: C# Pin
BillWoodruff20-Jul-19 18:59
mveBillWoodruff20-Jul-19 18:59 
AnswerRe: C# Pin
ZurdoDev19-Jul-19 11:12
professionalZurdoDev19-Jul-19 11:12 

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.