Question 718: For the code snippet shown below, which of the following statements are valid?public class Generic<T> { public T Field; public void TestSub() { T i = Field + 1; } } class MyProgram { static void Main(string[] args) { Generic<int> gen = new Generic<int>(); gen.TestSub(); } }
tcs
wipro
infosys
general
aptitude
generics
c-programming
No answer description is available.Let's discuss.