By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,889 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,889 IT Pros & Developers. It's quick & easy.

Class/Interface generation in C#

P: n/a
In VB .net I and my colleagues will often use abstract interfaces and VB's
'class wizard bars' at the top of the IDE for inheriting and generating a
number of new classes quickly. This feature does not appear to be available
in C#. Rather than using the xsd designers (or purchasing rational rose), is
their a recomended method of generating C# classes/interfaces that is of
similar (or even faster!) speed to vb .net?

Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 16/10/2004
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

What are you trying to generate the classes from? If you have XML, then XSD
is the appropriate tool. If you're creating classes for database access,
llblgen is a good choice.

If you're trying to have a wizard experience for adding classes, do this:
- Open the Class View (View|Class View on the main menu)
- Right-click on the project name, and select Add -> Class from the context
menu
- Follow the wizard

To add classes, methods, etc.:
- Open the Class View (View|Class View on the main menu)
- Right-click on the class name, and select Add-> {thing you want to add}
- Follow the wizard
--
Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com


"dotNEWBIE" <Newbie@dotNET> wrote in message
news:Ot****************@TK2MSFTNGP10.phx.gbl...
In VB .net I and my colleagues will often use abstract interfaces and VB's
'class wizard bars' at the top of the IDE for inheriting and generating a
number of new classes quickly. This feature does not appear to be
available
in C#. Rather than using the xsd designers (or purchasing rational rose),
is
their a recomended method of generating C# classes/interfaces that is of
similar (or even faster!) speed to vb .net?

Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 16/10/2004

Nov 16 '05 #2

P: n/a
Thanks Mickey, thats some invaluable advice that will help me work smarter!

"Mickey Williams [C# MVP]" <my first name at servergeek dot com> wrote in
message news:ez*************@tk2msftngp13.phx.gbl...

What are you trying to generate the classes from? If you have XML, then
XSD is the appropriate tool. If you're creating classes for database
access, llblgen is a good choice.

If you're trying to have a wizard experience for adding classes, do this:
- Open the Class View (View|Class View on the main menu)
- Right-click on the project name, and select Add -> Class from the
context menu
- Follow the wizard

To add classes, methods, etc.:
- Open the Class View (View|Class View on the main menu)
- Right-click on the class name, and select Add-> {thing you want to add}
- Follow the wizard
--
Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com


"dotNEWBIE" <Newbie@dotNET> wrote in message
news:Ot****************@TK2MSFTNGP10.phx.gbl...
In VB .net I and my colleagues will often use abstract interfaces and
VB's
'class wizard bars' at the top of the IDE for inheriting and generating a
number of new classes quickly. This feature does not appear to be
available
in C#. Rather than using the xsd designers (or purchasing rational rose),
is
their a recomended method of generating C# classes/interfaces that is of
similar (or even faster!) speed to vb .net?

Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 16/10/2004


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.