Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace toman_ZP4CS_02
- {
- public class Tuple
- {
- //private int[] ntice;
- public Tuple(List<object> ntice)
- {
- // this.ntice = ntice;
- }
- public int length()
- {
- return this.length();
- }
- /*
- public static bool operator == (Tuple t1, Tuple t2)
- {
- if (t1.length() != t2.length())
- {
- return false;
- }
- for (int i = 0; i < t1.length(); i++)
- {
- }
- return true;
- }
- public static bool operator !=(Tuple t1, Tuple t2)
- {
- return true;
- }*/
- }
- class Program
- {
- static void Main(string[] args)
- {
- Tuple t = new Tuple({ 1, 2, 3});
- //Tuple[] tuples = { new Tuple({ 5, 8, 2 }), new Tuple({ 3, 7, 9 }),new Tuple({ 7, 5, 9 })};
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement