mirror of
https://github.com/GhostPack/SharpDPAPI
synced 2026-06-08 11:11:23 +00:00
30 lines
618 B
C#
Executable File
30 lines
618 B
C#
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace SharpDPAPI
|
|
{
|
|
|
|
public class Tuple<T1, T2>
|
|
{
|
|
public T1 First { get; private set; }
|
|
public T2 Second { get; private set; }
|
|
internal Tuple(T1 first, T2 second)
|
|
{
|
|
First = first;
|
|
Second = second;
|
|
}
|
|
}
|
|
|
|
public static class Tuple
|
|
{
|
|
public static Tuple<T1, T2> New<T1, T2>(T1 first, T2 second)
|
|
{
|
|
var tuple = new Tuple<T1, T2>(first, second);
|
|
return tuple;
|
|
}
|
|
}
|
|
|
|
}
|