Tuple In C# with example :
1. Every tuple instance has a fixed number of items.
Each item on a tuple has its own special type like int,string,bool.
Tuples can not be changed once created.
2. It is a class once we create the tuple,we cannot change the values of its fields.
3. Tuple is just a simple way to return multiple values from function.
More Reading About Tuple In C#...!
1. Every tuple instance has a fixed number of items.
Each item on a tuple has its own special type like int,string,bool.
Tuples can not be changed once created.
2. It is a class once we create the tuple,we cannot change the values of its fields.
3. Tuple is just a simple way to return multiple values from function.
More Reading About Tuple In C#...!
No comments:
Post a Comment