You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?