Another void C# question
Posted
by Jim Jones
on Stack Overflow
See other posts from Stack Overflow
or by Jim Jones
Published on 2010-03-26T16:28:42Z
Indexed on
2010/03/26
16:33 UTC
Read the original article
Hit count: 198
c#
Have a type in the header files I'm working with called VTVOID it is the type of a struct element and a number of parameters.
In the header file defining types is the line
#define VTVOID void
I read in another discussion the void maps to System.Void
however when I plug that into the C# code I get the error
"System.Void cannot be used in C# -- use typeof(void) to get the void object."
So what type do I plug in?
Jim
© Stack Overflow or respective owner