Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
CreamKids


Write down common difference in between Generic and Non Generic Queue?
Question Posted on 11 Mar 2023

Home >> DotNet >> C# >> Write down common difference in between Generic and Non Generic Queue?




Write down common difference in between Generic and Non Generic Queue?
Below are the most common difference in between Generic Queue and Non-Generic Queue:-
0
0

NumberBase of differenceGeneric QueueNon-Generic Queue
1TypeGeneric Queue is type-safe.When we say about the Non-Generic Queue it is not type-Safe.
2Type of elementsIn Generic Queue we can only store same type of elements in Generic Queue.But in Non-Generic Queue we can store same type or different type elements.
3NamespaceWhen we say about the Namespace Generic Queue is defined under System.Collections.Generic namespace.When we say about the Namespace in Non-Generic Queue. Non-Generic queue is defined under System.Collections namespace.
4Define typeIn Generic Queue we need to define the type of the elements in the queue.When we say about the Non-Generic Queue we need not to define the type of elements in the queue.


 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Simplest definition of partial classes and its rules?
Definition of Tuple class with some examples?
Define Race Condition in cSharp?
C#.Net Reserve Words
can we inherit private class level variables in c#






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |