tags:

views:

147

answers:

5

Is there a difference, or are they just aliases?

+6  A: 

There is no difference they are aliasses.

Henri
+2  A: 

Nothing. uint is just an alias for System.UInt32.

missingfaktor
Don't you mean System.UInt32?
thecoop
@thecoop : Oh yes! Thanks!
missingfaktor
+7  A: 

Yes, they are aliases. Here's the full list.

Anton Gogolev
+2  A: 

It's just an alias: http://blogs.msdn.com/csharpfaq/archive/2004/03/12/88418.aspx

Satanlike
+2  A: 

They are aliases but:

enum A : uint
{
    // This code compiles
}

enum A : UInt32
{
    // Compile error
}
QrystaL
I didn't know this, can you please explain why it is so?
missingfaktor
I don't know the clear answer =) There's some discussion here: http://stackoverflow.com/questions/1813408/c-int-int32-and-enums
QrystaL
Thanks a lot! +1 for teaching me something new! :-)
missingfaktor