added dotnet extenstion for tuples and reflection