Generic ClassT1, T2Generic MethodT3, T4 Method
This is a generic method that takes two other generic types
Definition
Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
The default value of the type specified by the generic type argument T4.
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
public T4 GenericMethod<T3, T4>(
T3 argument
)
VB
Public Function GenericMethod(Of T3, T4) (
argument As T3
) As T4C++
public:
generic<typename T3, typename T4>
T4 GenericMethod(
T3 argument
)F#
member GenericMethod :
argument : 'T3 -> 'T4 Parameters
- argument T3
- This is an argument of the type specified by the generic type argument T3.
Type Parameters
- T3
- This is a generic type argument for the method argument.
- T4
- This is a generic type argument for the return value.
Return Value
T4The default value of the type specified by the generic type argument T4.