Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Modules days numbered?

Reply
 
Old 08-31-2008   #1 (permalink)
Zamdrist


 
 

Modules days numbered?

With as class and object oriented .Net is, is the concept of general
modules days numbered?

When did you last add a general module to your project, and why
wouldn't you have used a class instead?

My System SpecsSystem Spec
Old 09-01-2008   #2 (permalink)
Trevor Benedict


 
 

Re: Modules days numbered?

You can create a class with Shared Methods and it behaves like a Module and
you can create a Module and it becomes a class with Shared Methods.

Try this tool http://www.red-gate.com/products/reflector/. This will give u
a better understanding of the inside implementation.

Regards,

Trevor Benedict
MCSD

"Zamdrist" <zamdrist@xxxxxx> wrote in message
news:85aab050-441f-493e-a99b-78274843a1c2@xxxxxx
Quote:

> With as class and object oriented .Net is, is the concept of general
> modules days numbered?
>
> When did you last add a general module to your project, and why
> wouldn't you have used a class instead?

My System SpecsSystem Spec
Old 09-01-2008   #3 (permalink)
Pavel Minaev


 
 

Re: Modules days numbered?

"Zamdrist" <zamdrist@xxxxxx> wrote in message
news:85aab050-441f-493e-a99b-78274843a1c2@xxxxxx
Quote:

> With as class and object oriented .Net is, is the concept of general
> modules days numbered?
>
> When did you last add a general module to your project, and why
> wouldn't you have used a class instead?
System.Math?


My System SpecsSystem Spec
Old 09-01-2008   #4 (permalink)
Zamdrist


 
 

Re: Modules days numbered?

This has nothing at all to do with the question/thought I posted.

On Sep 1, 12:23*am, "Trevor Benedict" <trevorn...@xxxxxx> wrote:
Quote:

> You can create a class with Shared Methods and it behaves like a Module and
> you can create a Module and it becomes a class with Shared Methods.
>
> Try this toolhttp://www.red-gate.com/products/reflector/. This will give u
> a better understanding of the inside implementation.
>
> Regards,
>
> Trevor Benedict
> MCSD
>
> "Zamdrist" <zamdr...@xxxxxx> wrote in message
>
> news:85aab050-441f-493e-a99b-78274843a1c2@xxxxxx
>
Quote:

> > With as class and object oriented .Net is, is the concept of general
> > modules days numbered?
>
Quote:

> > When did you last add a general module to your project, and why
> > wouldn't you have used a class instead?
My System SpecsSystem Spec
Old 09-01-2008   #5 (permalink)
Family Tree Mike


 
 

Re: Modules days numbered?

Actually, it does have to do with the subject of your post. This is how the
Reflector shows an example module decompiled.

Friend NotInheritable Class MyModule
' Methods
Public Shared Sub FooBar()
Public Shared Function Sqrt(ByVal x As Double) As Double
End Class




"Zamdrist" wrote:
Quote:

> This has nothing at all to do with the question/thought I posted.
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: Why do modules in the PSHome\Modules folder require the full p PowerShell
CTP2: Modules using PSD1? PowerShell
Unable to see all modules PowerShell
Rebuild all modules under vista? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46