X nemá předdefinovanou velikost. Operátor sizeof lze proto použít pouze v kontextu unsafe (zvažte možnost použití operátoru System.Runtime.InteropServices.Marshal.SizeOf).
Click to search this error in Google
English version
'X' does not have a predefined size, therefore sizeof can only be used in an unsafe context (consider using System.Runtime.InteropServices.Marshal.SizeOf)