Browse Source

applied simple generics

bmallred 12 years ago
parent
commit
274f8e7b53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EuclideanDistance/DoubleExtensions.cs

+ 1 - 1
EuclideanDistance/DoubleExtensions.cs

49
		/// <param name='point'>
49
		/// <param name='point'>
50
		/// Point.
50
		/// Point.
51
		/// </param>
51
		/// </param>
52
		public static string ToPoint(this IEnumerable<double> point)
52
		public static string ToPoint<T>(this IEnumerable<T> point)
53
		{
53
		{
54
			return string.Format("({0})", string.Join(",", point));
54
			return string.Format("({0})", string.Join(",", point));
55
		}
55
		}