diff --git a/LoggingKata/Program.cs b/LoggingKata/Program.cs index e36fbf28..67db0efb 100644 --- a/LoggingKata/Program.cs +++ b/LoggingKata/Program.cs @@ -33,16 +33,20 @@ static void Main(string[] args) double distance = 0; - for (int i = 0; i < locations.Length; i++) + //for (int i = 0; i < locations.Length; i++) + foreach(var i in locations) { - var locA = locations[i]; + //var locA = locations[i]; + var locA = i; var corA = new GeoCoordinate(); corA.Latitude = locA.Location.Latitude; corA.Longitude = locA.Location.Longitude; - for (int j = 0; j < locations.Length; j++) + //for (int j = 0; j < locations.Length; j++) + foreach(var j in locations) { - var locB = locations[j]; + //var locB = locations[j]; + var locB = j; var corB = new GeoCoordinate(locB.Location.Latitude, locB.Location.Longitude); if(corA.GetDistanceTo(corB) > distance) diff --git a/_config.yml b/_config.yml new file mode 100644 index 00000000..c7418817 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-slate \ No newline at end of file