Re: Is there a difference between the C# "int" and System.Int32 ???

From: C Newby (can_at_democracydata.com)
Date: 08/25/04


Date: Wed, 25 Aug 2004 14:57:39 -0400

That is as I thought.

But I was wondering ... so far as I remember, there was an intrinsic integer
type in Java. Is there any reason to think that the .NET implementation of
integers would suffer from performance problems (in comparison to Java),
even if only slightly? Or is the Java implementation in fact the same and
I'm just remembering it incorrectly?

TIA//

"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1b96ef1fa45ae13e98b2ce@msnews.microsoft.com...
> C Newby <can@democracydata.com> wrote:
> > Is there a difference between the C# "int" and System.Int32 ??? TIA//
>
> Nope - the former is just a shorthand for the latter.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too



Relevant Pages

  • Re: porting from C++Builder
    ... that's correct and there is a very strong reason for taking this ... the java was growing and, obviously, microsoft initially tried to ... that crowds of developers would rather stay and develop windows applications. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: JVM/Java memory footprint
    ... I found that if I use Java for developing the CLI ... application I will be exhausting the memory of our Application Server ... Just to mention the architecture,users use ... what WHAT specific REASON do you have to make ...
    (comp.lang.java.programmer)
  • Re: 7.0 wishlist?
    ... I felt the former was a better fit, since language design/change is an issue of interest to the programmers that use the language, and language changes are really specification changes that require tools like the compiler to be updated as side-effects. ... It was considerably more on-topic than some of yours have been (notably the ones that are 80% personal attacks by dry weight and only 20% Java programming related -- and high in saturated fat too no doubt!). ... If it is not your actual attitude, then your posts to this thread either are an unrepresentative sample or communicate your true feelings poorly for whatever reason. ... than you were in your original posting. ...
    (comp.lang.java.programmer)
  • Re: kilyx
    ... somewhat compatible with, for good reason) ... There's a difference between what the IDE is built in and what GUI ... Borland built a C++ IDE around a Java core ...
    (borland.public.delphi.non-technical)
  • Re: C is too old? opinions?
    ... Is Java used for real-time systems. ... Go on then - I would like to know how garbage collection affects ... A good reason, showing thought and reason. ...
    (comp.lang.c)