crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Write down common difference in between Generic and Non Generic Queue?
Question Posted on 11 Mar 2023Home >> 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.


.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




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#






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap