Which Of These Is An Correct Way Of Defining Generic Method #818
Which of these is an correct way of defining generic method?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Namespaces, Preprocessors and Networking - Type Interface - Quiz No.1.
Which of these is an correct way of defining generic method?
name(T1, T2, …, Tn) { /* … */ }
public name { /* … */ }
class name[T1, T2, …, Tn] { /* … */ }
name{T1, T2, …, Tn} { /* … */ }