Re: About .NET

new topic     » goto parent     » topic index » view thread      » older message » newer message

David wrote:
> 
> Philip Deets wrote:
> 
> > I think there are over 65 programming
> > languages that can create .NET applications.
> 
> And oddly enough, they all look exactly like C#. That is, all .NET 
> languages tend to have the same datatypes, control structures, and so
> on. The .NET framework works well with compiled languages, but rather 
> poorly with interpreted languages that have dynamic datatypes.
> 
> <snip>

I'm not sure I understand why .NET would work poorly with a language with
dynamic datatypes.  .NET is object oriented.  Every class in .NET is a 
type.

Even the code

int i = 0;

in C# is just a short form for

System.Int32 i = new System.Int32(0);

Types are classes (or structures, as is the case with the int example).

Also, .NET languages don't look alike to me.  Just look at the difference
between VB.NET and C#

VB.NET

' A "Hello World!" program in Visual Basic.
Module Hello
   Sub Main()
      MsgBox("Hello World!")
   End Sub
End Module

C#

// A "Hello World!" program in C#
using System.Windows.Forms;

namespace Hello
{
   class Hello
   {
      public static void Main()
      {
         MessageBox.Show("Hello World!");
      }
   }
}

Phil

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu