I wrote a C# function like this:
int SizeOf<T>()
where T : unmanaged
{
return sizeof(T);
}
But when I tried to call this function in a VB project, the compiler threw a BC30649 exception said:
""is an unsupported type
What should I do to call this function?
I wrote a C# function like this:
But when I tried to call this function in a VB project, the compiler threw a BC30649 exception said:
""is an unsupported typeWhat should I do to call this function?