Blittable Value Types

Posted by Michael Covelli on Stack Overflow See other posts from Stack Overflow or by Michael Covelli
Published on 2010-03-21T23:49:54Z Indexed on 2010/03/21 23:51 UTC
Read the original article Hit count: 366

Filed under:
|
|
|
|

Here is a list of blittable types. It contains Int32 and Int64. But I don't see just plain "int" on the list. How does C# treat the plain "int" type? Does it just get replaced with Int32 or Int64 depending on the system? Or is there a subtle difference? Will using "int" ever cause a performance hit for marshalling?

© Stack Overflow or respective owner

Related posts about c#

Related posts about pinvoke