MainClass.Method1<T> Method
Sample generic method with two arguments.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
generic<typename T>
public:
bool Method1(
array< int >^ x,
String^ y
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.
Type Parameters
-
T
-
The type used in this generic method.
Parameters
-
x
-
int[]
The first parameter.
-
y
-
string
The second parameter.
Return Value
bool
true if no error occurs; false otherwise.
.NET Framework
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Core
Supported in: 1.0, 1.1, 2.0
.NET Standard
Supported in: 2.0
Xamarin.Android
Supported in: 7.1
Portable Class Library
Supported in: Portable Class Library