Метод SomeMethod на языке С имеет следующий вид: BOOLEAN SomeMethod (EXTENDED_NAME_FORMAT NameFormat, LPTSTR lpNameBuffer, ULONG nSize);
Выберите правильное преобразование этого метода на языке C#:
(Отметьте один правильный вариант ответа.)
Варианты ответа
public static extern float SomeMethod (int nameFormat, StringBuilder userName, ref uint userNameSize)
public static extern int SomeMethod (int nameFormat, StringBuilder userName, ref uint userNameSize)(Верный ответ)
public static extern int SomeMethod (int nameFormat, StringBuilder userName, float userNameSize)
public static void int SomeMethod (int nameFormat, StringBuilder userName, ref uint userNameSize)
public static extern int SomeMethod (string nameFormat, StringBuilder userName, ref uint userNameSize)