Click here to Skip to main content
11,496,146 members (792 online)
   

C#

The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
 
AnswerRe: Exception Handling Pin
Orjan Westin16-Nov-12 5:37
memberOrjan Westin16-Nov-12 5:37 
AnswerRe: Exception Handling Pin
SledgeHammer0116-Nov-12 10:55
memberSledgeHammer0116-Nov-12 10:55 
JokeRe: Exception Handling Pin
Mycroft Holmes16-Nov-12 16:42
memberMycroft Holmes16-Nov-12 16:42 
AnswerRe: Exception Handling Pin
jschell17-Nov-12 7:20
memberjschell17-Nov-12 7:20 
QuestionManual Coding vs Code Generation Pin
Phanindra26116-Nov-12 1:22
memberPhanindra26116-Nov-12 1:22 
AnswerRe: Manual Coding vs Code Generation Pin
DaveyM6916-Nov-12 1:46
mentorDaveyM6916-Nov-12 1:46 
GeneralRe: Manual Coding vs Code Generation Pin
n.podbielski16-Nov-12 2:06
membern.podbielski16-Nov-12 2:06 
GeneralRe: Manual Coding vs Code Generation Pin
DaveyM6916-Nov-12 3:37
mentorDaveyM6916-Nov-12 3:37 
GeneralRe: Manual Coding vs Code Generation Pin
n.podbielski16-Nov-12 3:47
membern.podbielski16-Nov-12 3:47 
GeneralRe: Manual Coding vs Code Generation Pin
BobJanova16-Nov-12 4:22
memberBobJanova16-Nov-12 4:22 
GeneralRe: Manual Coding vs Code Generation Pin
n.podbielski16-Nov-12 4:43
membern.podbielski16-Nov-12 4:43 
AnswerRe: Manual Coding vs Code Generation Pin
Orjan Westin16-Nov-12 3:17
memberOrjan Westin16-Nov-12 3:17 
GeneralRe: Manual Coding vs Code Generation Pin
Phanindra26116-Nov-12 4:09
memberPhanindra26116-Nov-12 4:09 
GeneralRe: Manual Coding vs Code Generation Pin
Orjan Westin16-Nov-12 4:25
memberOrjan Westin16-Nov-12 4:25 
All occasions I've seen and used code generation tools, that's been a build-time issue, not run-time. You run the tool to create code, which is included in the compiling and build of the software. As such, there's no performance penalty when running, although it can complicat the build process.

For instance, Microsoft has a tool that takes an XML file and creates an XML schema from it. This schema can then be run through the same tool which can generate C# classes to represent it. This means you don't have to hand code the classes needed to serialise the XML, but have used a code generation tool. Typically, you'd only do this when there's been a change in the XML schema, not every time you build the system.

I'm not entirely clear what you mean by template here? Do you mean the different application and library types you can pick from when creating a new project in Visual C#? Those templates are effectivel recipes used by the code generation tool to create the project and its initial files.
AnswerRe: Manual Coding vs Code Generation Pin
BobJanova16-Nov-12 4:25
memberBobJanova16-Nov-12 4:25 
AnswerRe: Manual Coding vs Code Generation Pin
Marcus Kramer16-Nov-12 8:11
memberMarcus Kramer16-Nov-12 8:11 
GeneralRe: Manual Coding vs Code Generation Pin
Phanindra26116-Nov-12 8:56
memberPhanindra26116-Nov-12 8:56 
GeneralRe: Manual Coding vs Code Generation Pin
Marcus Kramer16-Nov-12 9:26
memberMarcus Kramer16-Nov-12 9:26 
AnswerRe: Manual Coding vs Code Generation Pin
Mycroft Holmes16-Nov-12 16:37
memberMycroft Holmes16-Nov-12 16:37 
GeneralRe: Manual Coding vs Code Generation Pin
PIEBALDconsult21-Nov-12 18:51
memberPIEBALDconsult21-Nov-12 18:51 
GeneralRe: Manual Coding vs Code Generation Pin
Mycroft Holmes21-Nov-12 19:46
memberMycroft Holmes21-Nov-12 19:46 
GeneralRe: Manual Coding vs Code Generation Pin
PIEBALDconsult22-Nov-12 10:51
memberPIEBALDconsult22-Nov-12 10:51 
AnswerRe: Manual Coding vs Code Generation Pin
PIEBALDconsult21-Nov-12 5:00
memberPIEBALDconsult21-Nov-12 5:00 
QuestionDesign Question Pin
TheGermoz15-Nov-12 18:31
memberTheGermoz15-Nov-12 18:31 
AnswerRe: Design Question Pin
DaveyM6915-Nov-12 20:31
mentorDaveyM6915-Nov-12 20:31 
GeneralRe: Design Question Pin
TheGermoz15-Nov-12 21:11
memberTheGermoz15-Nov-12 21:11 
AnswerRe: Design Question Pin
Rahul Rajat Singh15-Nov-12 22:43
memberRahul Rajat Singh15-Nov-12 22:43 
GeneralRe: Design Question Pin
TheGermoz16-Nov-12 0:14
memberTheGermoz16-Nov-12 0:14 
AnswerRe: Design Question Pin
Rahul Rajat Singh16-Nov-12 0:22
memberRahul Rajat Singh16-Nov-12 0:22 
AnswerRe: Design Question Pin
BobJanova16-Nov-12 0:12
memberBobJanova16-Nov-12 0:12 
GeneralRe: Design Question Pin
TheGermoz16-Nov-12 0:16
memberTheGermoz16-Nov-12 0:16 
GeneralRe: Design Question Pin
Rahul Rajat Singh16-Nov-12 0:35
memberRahul Rajat Singh16-Nov-12 0:35 
GeneralRe: Design Question Pin
BobJanova16-Nov-12 1:09
memberBobJanova16-Nov-12 1:09 
AnswerRe: Design Question Pin
SledgeHammer0116-Nov-12 10:53
memberSledgeHammer0116-Nov-12 10:53 
GeneralRe: Design Question Pin
TheGermoz16-Nov-12 11:06
memberTheGermoz16-Nov-12 11:06 
AnswerRe: Design Question Pin
Clifford Nelson16-Nov-12 10:53
memberClifford Nelson16-Nov-12 10:53 
QuestionBackground worker thread Pin
MAW3015-Nov-12 15:54
memberMAW3015-Nov-12 15:54 
AnswerRe: Background worker thread Pin
DaveyM6915-Nov-12 19:51
mentorDaveyM6915-Nov-12 19:51 
QuestionArray, Struct, Class??? I'm so confused.... Pin
KKW_acd15-Nov-12 7:29
memberKKW_acd15-Nov-12 7:29 
AnswerRe: Array, Struct, Class??? I'm so confused.... [modified] Pin
DaveyM6915-Nov-12 7:55
mentorDaveyM6915-Nov-12 7:55 
GeneralRe: Array, Struct, Class??? I'm so confused.... Pin
KKW_acd15-Nov-12 10:03
memberKKW_acd15-Nov-12 10:03 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
DaveyM6915-Nov-12 20:02
mentorDaveyM6915-Nov-12 20:02 
GeneralRe: Array, Struct, Class??? I'm so confused.... Pin
Richard MacCutchan16-Nov-12 1:02
mvpRichard MacCutchan16-Nov-12 1:02 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
Richard MacCutchan15-Nov-12 8:06
mvpRichard MacCutchan15-Nov-12 8:06 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
BobJanova16-Nov-12 1:16
memberBobJanova16-Nov-12 1:16 
QuestionWind Chill Automation with C# application Pin
omisheikh15-Nov-12 7:03
memberomisheikh15-Nov-12 7:03 
AnswerRe: Wind Chill Automation with C# application Pin
jschell15-Nov-12 9:12
memberjschell15-Nov-12 9:12 
GeneralRe: Wind Chill Automation with C# application Pin
omisheikh16-Nov-12 4:25
memberomisheikh16-Nov-12 4:25 
GeneralRe: Wind Chill Automation with C# application Pin
jschell17-Nov-12 6:40
memberjschell17-Nov-12 6:40 
GeneralRe: Wind Chill Automation with C# application Pin
omisheikh18-Nov-12 22:00
memberomisheikh18-Nov-12 22:00 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 30 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid