Examveda

What does the following C# code block define?
class Gen<T> {  
                 T ob;    
             }

A. Generics class declaration

B. Declaration of variable

C. A simple class declaration

D. Both Generics class declaration & Declaration of variable

Answer: Option D


This Question Belongs to C Sharp Programming >> Networking In C Sharp

Join The Discussion

Related Questions on Networking in C Sharp

What is the difference between TCP and UDP in networking?

A. TCP provides reliable, connection-oriented communication, while UDP provides unreliable, connectionless communication

B. TCP provides unreliable, connectionless communication, while UDP provides reliable, connection-oriented communication

C. TCP is faster than UDP

D. UDP is more secure than TCP