Re: Is there a difference between the C# "int" and System.Int32 ???
From: C Newby (can_at_democracydata.com)
Date: 08/25/04
- Next message: David Levine: "Re: Custom exception and JIT debugging"
- Previous message: Curt: "n-tier Architecture and IIS"
- In reply to: Jon Skeet [C# MVP]: "Re: Is there a difference between the C# "int" and System.Int32 ???"
- Next in thread: Jon Skeet [C# MVP]: "Re: Is there a difference between the C# "int" and System.Int32 ???"
- Reply: Jon Skeet [C# MVP]: "Re: Is there a difference between the C# "int" and System.Int32 ???"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Aug 2004 15:15:26 -0400
Thanks Jon. I looked around a little on MSDN as to how Int32 is handled by
the runtime, but I didn't see anything. Could you either elaborate on the
subject some more or direct me to a reference? Thanks again//
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1b96f3a95e1c73cc98b2d0@msnews.microsoft.com...
> C Newby <can@democracydata.com> wrote:
> > 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?
>
> No, System.Int32 is still treated differently by the compiler and IL.
> Each type in .NET is a "proper" type though, including value types.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
- Next message: David Levine: "Re: Custom exception and JIT debugging"
- Previous message: Curt: "n-tier Architecture and IIS"
- In reply to: Jon Skeet [C# MVP]: "Re: Is there a difference between the C# "int" and System.Int32 ???"
- Next in thread: Jon Skeet [C# MVP]: "Re: Is there a difference between the C# "int" and System.Int32 ???"
- Reply: Jon Skeet [C# MVP]: "Re: Is there a difference between the C# "int" and System.Int32 ???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|