SlideShare uma empresa Scribd logo
1 de 6
.NET Framework 4.0 Tuples
VISIT : http://crbtech.in/Dot-Net-Training/
A Tuple is an inbuilt class sort presented in .net system 4.0. This article is extremely
valuable if the developer knows when and where to utilize it. A tuple in .
net system 4.0 will relinquish to an information structure whose component can be
classified specifically.
Tuple Insight
A Tuple is a static class and can be infused with a rundown of things that are of various
sorts. A tuple article can be made utilizing its constructor or by utilizing the technique
plant strategy called Create.
Following below are the code tests -
//Using the Generic constructor
var t = new Tuple<int, int, string, DateTime>(10, 25, “This is a tuple demo”,
DateTime.Now);
//Using the factory method Create
var t1 = Tuple.Create<int, int, string, DateTime>(10, 25, “This is a tuple demo”,
DateTime.Now);
At any moment, a tuple can be infused with 1 to 7 informative things and if the engineer needs
to include a couple of more than the route is to include another tuple object itself at the
eighth spot.
Following below is the code showing it -
//Nesting tuples
var t = new Tuple<int, int>(10, 25);
var t1 = new Tuple<string, int, int, int, int, int, int, Tuple<int, int>>(“This is a tuple demo”,
1, 2, 3, 4, 5, 6, t);
Getting to the Data from a Tuple Object
The information values provided to the tuple articles will be uncovered as Item1, Item2, and so
forth.
Following below is the code showing how to get the information from the tuple object -
class Program
{
static void Main(string[] args)
{
var t = GetEmployeeTupleObject();
Console.WriteLine(“Name: {0} {1}”, t.Item1,
t.Item2);
Console.WriteLine(“Age: {0}”, t.Item3);
Console.WriteLine(“Job Title: {0}”, t.Item4);
}
private static Tuple<string, string, int, string>
GetEmployeeTupleObject()
{
return new Tuple<string, string, int,
3. Tuple information is specifically firmly typed so
that there is no boxing or unpacking required. This
enhances the execution of the .net system.
4. On the off chance that you need to pass a worker
subtle element from a capacity as appeared in the
over segment’s specimen code in the prior .net
structure forms you may need to make an Employee
class or a struct and afterward populate the
information. Be that as it may, by utilizing the tuple
object you have accomplished it in a specific way
effortlessly and with diminished lines of code.
5. You can build the capacity limit of the tuple object
by making settled Tuples. The size is not a major
limitation as the Tuple is a reference sort yet with a
A few Limitations
1. In the event that you contrast a Tuple object and a custom article employee the tuple does not
have the qualities mapped against all around named properties like FirstName, LastName,
Age, JobTitle, and so on.; rather it uncovered them as Item1, Item2, Item3, and Item4. So
when a tuple article is passed to an outside class then the calling class ought to know in what
grouping the qualities are being passed.
2. Since the Tuple class does not actualize an Enumerable class you can’t verifiably utilize it in
a ForEach circle. On the off chance that you need to utilize ForEach still then make a custom
class acquiring Tuple and IEnumerable.
We the institute provide training in dot net field to freshers to know the reviews about our
company visit crb tech reviews.
Related Articles:
How to learn .NET Framework?
Microsoft .Net Framework 4.0| 4.5 | 4.6 for Beginners
THANK YOU!!!!
A few Limitations
1. In the event that you contrast a Tuple object and a custom article employee the tuple does not
have the qualities mapped against all around named properties like FirstName, LastName,
Age, JobTitle, and so on.; rather it uncovered them as Item1, Item2, Item3, and Item4. So
when a tuple article is passed to an outside class then the calling class ought to know in what
grouping the qualities are being passed.
2. Since the Tuple class does not actualize an Enumerable class you can’t verifiably utilize it in
a ForEach circle. On the off chance that you need to utilize ForEach still then make a custom
class acquiring Tuple and IEnumerable.
We the institute provide training in dot net field to freshers to know the reviews about our
company visit crb tech reviews.
Related Articles:
How to learn .NET Framework?
Microsoft .Net Framework 4.0| 4.5 | 4.6 for Beginners
THANK YOU!!!!

Mais conteúdo relacionado

Último

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Último (20)

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Destaque

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Dot net framework 4.0 tuples

  • 1. .NET Framework 4.0 Tuples VISIT : http://crbtech.in/Dot-Net-Training/ A Tuple is an inbuilt class sort presented in .net system 4.0. This article is extremely valuable if the developer knows when and where to utilize it. A tuple in . net system 4.0 will relinquish to an information structure whose component can be classified specifically. Tuple Insight A Tuple is a static class and can be infused with a rundown of things that are of various sorts. A tuple article can be made utilizing its constructor or by utilizing the technique plant strategy called Create. Following below are the code tests - //Using the Generic constructor var t = new Tuple<int, int, string, DateTime>(10, 25, “This is a tuple demo”, DateTime.Now);
  • 2. //Using the factory method Create var t1 = Tuple.Create<int, int, string, DateTime>(10, 25, “This is a tuple demo”, DateTime.Now); At any moment, a tuple can be infused with 1 to 7 informative things and if the engineer needs to include a couple of more than the route is to include another tuple object itself at the eighth spot. Following below is the code showing it - //Nesting tuples var t = new Tuple<int, int>(10, 25); var t1 = new Tuple<string, int, int, int, int, int, int, Tuple<int, int>>(“This is a tuple demo”, 1, 2, 3, 4, 5, 6, t); Getting to the Data from a Tuple Object The information values provided to the tuple articles will be uncovered as Item1, Item2, and so forth. Following below is the code showing how to get the information from the tuple object -
  • 3. class Program { static void Main(string[] args) { var t = GetEmployeeTupleObject(); Console.WriteLine(“Name: {0} {1}”, t.Item1, t.Item2); Console.WriteLine(“Age: {0}”, t.Item3); Console.WriteLine(“Job Title: {0}”, t.Item4); } private static Tuple<string, string, int, string> GetEmployeeTupleObject() { return new Tuple<string, string, int,
  • 4. 3. Tuple information is specifically firmly typed so that there is no boxing or unpacking required. This enhances the execution of the .net system. 4. On the off chance that you need to pass a worker subtle element from a capacity as appeared in the over segment’s specimen code in the prior .net structure forms you may need to make an Employee class or a struct and afterward populate the information. Be that as it may, by utilizing the tuple object you have accomplished it in a specific way effortlessly and with diminished lines of code. 5. You can build the capacity limit of the tuple object by making settled Tuples. The size is not a major limitation as the Tuple is a reference sort yet with a
  • 5. A few Limitations 1. In the event that you contrast a Tuple object and a custom article employee the tuple does not have the qualities mapped against all around named properties like FirstName, LastName, Age, JobTitle, and so on.; rather it uncovered them as Item1, Item2, Item3, and Item4. So when a tuple article is passed to an outside class then the calling class ought to know in what grouping the qualities are being passed. 2. Since the Tuple class does not actualize an Enumerable class you can’t verifiably utilize it in a ForEach circle. On the off chance that you need to utilize ForEach still then make a custom class acquiring Tuple and IEnumerable. We the institute provide training in dot net field to freshers to know the reviews about our company visit crb tech reviews. Related Articles: How to learn .NET Framework? Microsoft .Net Framework 4.0| 4.5 | 4.6 for Beginners THANK YOU!!!!
  • 6. A few Limitations 1. In the event that you contrast a Tuple object and a custom article employee the tuple does not have the qualities mapped against all around named properties like FirstName, LastName, Age, JobTitle, and so on.; rather it uncovered them as Item1, Item2, Item3, and Item4. So when a tuple article is passed to an outside class then the calling class ought to know in what grouping the qualities are being passed. 2. Since the Tuple class does not actualize an Enumerable class you can’t verifiably utilize it in a ForEach circle. On the off chance that you need to utilize ForEach still then make a custom class acquiring Tuple and IEnumerable. We the institute provide training in dot net field to freshers to know the reviews about our company visit crb tech reviews. Related Articles: How to learn .NET Framework? Microsoft .Net Framework 4.0| 4.5 | 4.6 for Beginners THANK YOU!!!!