PC Review


Reply
Thread Tools Rate Thread

Code Generation

 
 
=?Utf-8?B?cmFqZWV2?=
Guest
Posts: n/a
 
      6th Jan 2005
Can code be automatically generated for the functionalities for Implementing
Interface for Class in C# as it happens in vb.net
Thanks n regards
Rajeev
 
Reply With Quote
 
 
 
 
=?UTF-8?B?IkFuZGVycyBOb3LDpXMgW01DQURdIg==?=
Guest
Posts: n/a
 
      6th Jan 2005
rajeev wrote:
> Can code be automatically generated for the functionalities for Implementing
> Interface for Class in C# as it happens in vb.net

In Visual Studio .NET 2003 you can press the TAB key after writing the
interface name to generate stubs for the interface members.

Anders Norås
http://dotnetjunkies.com/weblog/anoras/
 
Reply With Quote
 
Sahil Malik
Guest
Posts: n/a
 
      6th Jan 2005
In VS2002 - you're **** Outta Luck
In VS2003 - hit TAB
in VS 2005 - Hit CTRL + . and choose from menu.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik

"rajeev" <(E-Mail Removed)> wrote in message
news:BBCD507B-393A-4F88-8BF3-(E-Mail Removed)...
> Can code be automatically generated for the functionalities for

Implementing
> Interface for Class in C# as it happens in vb.net
> Thanks n regards
> Rajeev



 
Reply With Quote
 
Ross Donald
Guest
Posts: n/a
 
      31st Jan 2005
Also, if you find your class in the Class view, expand it and expand Bases
and interfaces, expand your interface you can right-click on the interface
members and select Add > override. This will generate a code stub for the
method or property.

--
Ross Donald
..NET Code Generation - http://www.radsoftware.com.au/codegenerator/


""Anders Norås [MCAD]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> rajeev wrote:
>> Can code be automatically generated for the functionalities for
>> Implementing Interface for Class in C# as it happens in vb.net

> In Visual Studio .NET 2003 you can press the TAB key after writing the
> interface name to generate stubs for the interface members.
>
> Anders Norås
> http://dotnetjunkies.com/weblog/anoras/


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access metadata repository generation query, matrix generationquery, table-generation query, array-generation query. Roy Roebuck Microsoft Access Database Table Design 1 20th Dec 2008 07:23 PM
Code Generation and VC++ 8... Frederico Pissarra Microsoft VC .NET 7 28th Mar 2006 05:37 PM
C# 2005 how to remove warning "The file 'C:\Main.cs' does not support code parsing or generation because it is not contained within a project that supports code. Serdge Kooleman Microsoft C# .NET 0 9th Feb 2006 05:43 PM
Code generation Alexander Muylaert Microsoft C# .NET 2 10th Aug 2005 07:31 AM
code generation woes (need code at END of Initialize Component) Bill Foust Microsoft Dot NET Framework Forms 0 11th Aug 2003 05:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:02 PM.