473,569 Members | 2,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

int32 Vs Int

I saw some code using int32 recently I checked the ECMA doc's and
couldn't find a reference to this type. Am i right in thinking this is
the same as string Vs String and that int is simply a shortened form of
int32 - both of them representing 32 bit signed integers?

TIA.

Gary.

Nov 28 '06 #1
4 4553
I saw some code using int32 recently I checked the ECMA doc's and
couldn't find a reference to this type. Am i right in thinking this is
the same as string Vs String and that int is simply a shortened form
of int32 - both of them representing 32 bit signed integers?
Yes, you are correct.

Best Regards,
Dustin Campbell
Developer Express Inc.
Nov 28 '06 #2
Yes, It is a short hand form of Int32 structure

I think all the basic types have the short hand forms....

Thanks
-Cnu

ga********@mywa y.com wrote:
I saw some code using int32 recently I checked the ECMA doc's and
couldn't find a reference to this type. Am i right in thinking this is
the same as string Vs String and that int is simply a shortened form of
int32 - both of them representing 32 bit signed integers?

TIA.

Gary.
Nov 28 '06 #3
Yes, it is short hand form of Int32

Infact all the basic data types are the shorthand forms for the some
structures in System namespace

Thanks
-Cnu

ga********@mywa y.com wrote:
I saw some code using int32 recently I checked the ECMA doc's and
couldn't find a reference to this type. Am i right in thinking this is
the same as string Vs String and that int is simply a shortened form of
int32 - both of them representing 32 bit signed integers?

TIA.

Gary.
Nov 28 '06 #4
Yes, that should be true.

FYI there is also an int64 type

On 28 Nov 2006 08:07:11 -0800, ga********@mywa y.com wrote:
>I saw some code using int32 recently I checked the ECMA doc's and
couldn't find a reference to this type. Am i right in thinking this is
the same as string Vs String and that int is simply a shortened form of
int32 - both of them representing 32 bit signed integers?

TIA.

Gary.
--

Bits.Bytes.
http://bytes.thinkersroom.com
Nov 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5637
by: phancey | last post by:
I am trying to invoke a web service method dynamically. I have created a generic function that takes a method name, string of parameters and calls the web method using System.Reflection: MethodInfo mi = proxyInstance.GetType().GetMethod(methodName); object paramsArray = (object)methodParams.ToArray(typeof(object)); object result =...
19
4114
by: jeff | last post by:
how do you convert form byte to Int32 while retaining the binary value of the byte array
1
1408
by: Jason Bell | last post by:
While I'm experienced with c# and regular c++, I'm very new to managed c++ so please bare with me. Here's the scenario: I have a function that wraps a pointer to an unmanaged function. I want the wrapping function to be CLS compliant. Here's what I have now. It works perfectly, but isn't CLS compliant:
1
4861
by: Hifni Shahzard | last post by:
Hi, I got a stored procedure, where it returns a value. But if I execute it. It gives an error as "Invalid cast from System.Int32 to System.Byte.". To make clear how do I execute this, below I'm specifiying my code: The Code used in Visual Studio: Function GetRank(ByVal ID As Integer, ByVal Comp As String, ByVal Sec As String, ByVal...
3
2055
by: Søren M. Olesen | last post by:
Hi How do I dynamically create a type of System.Int32 with the value 123?? I've tried the following: Dim keyci As ConstructorInfo = Type.GetType("System.Int32").GetConstructor(New Type() {Type.GetType("System.Int32")}) Dim key As Object = keyci.Invoke(New Object() {"123"}) however it doesn't seem to work....
3
2196
by: HKannen | last post by:
Hello Everybody, I wrote a little method that gets me an Int32 from a BitArray. This method looks like this: private Int32 GetIntVal( BitArray iArray ) { Byte lByteArr = new Byte; iArray.CopyTo( lByteArr, 0 );
1
1492
by: Allen Maki | last post by:
Why can I get the index of the item of the array when I use string*, but can not get the index of the array when I use any other type (such as Int32)? This code will compile perfectly, but if I replace String* with Int32, the code would not compile? The code using String* type: #include "stdafx.h"
4
2350
by: Mark Ingram | last post by:
Hi, I have a function: void MyFunction(Int32^ outVar) { if (outVar != nullptr) { *outVar = 32; } }
2
4118
by: rob | last post by:
Hi, I'm a bit confused by the mapping of the native types int and long to UInt32. I'm trying to bind a tracking reference to a native value type and it works for Int32 % -int but not for Int32 % -long. This page http://msdn2.microsoft.com/en-gb/library/0wf2yk2k(VS.80).aspx states that both int & long map to Int32. The following code...
1
2588
by: northerntechie | last post by:
Ok, I don't normally post (I would rather rummage around in the thoughts and frustrations of others) but this one has got me stumped. I am using MS VB 2005 Express and I am using a COM object reference that will not allow me to read back an array of System.int32 through a byref parameter. In the older VB6 program I would simply declare a...
0
7694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.