I've used Delphi (and with Delphi comes Pascal basically, same language mostly), PHP, JavaScript, ActionScript, C (not written, but read a lot), C++ (not much, but still), Java... Did I leave anything out? I think that's all (does SQL count?)
In what way is LINQ different from SQL regarding databases?
I remember fiddling with TurboPascal some 15 years ago, then with LOGOWriter. Played with BASIC 2.0 on a Commodore-64 (that's what started it all), then QBasic. VB4-5-6, VBA, C#. I can read VB.NET but the language just feels wrong, I'd rather mutilate myself with a paper envelope than write VB.NET code.
my code has the logic and the structure in the same classes though. Not entirely optimal generally, but this code is specifically written for solving. (One can always refactor later, right?)
@SimonAndréForsberg ugh. removing the magic numbers is trickier than I anticipated. I don't have magic numbers per se, but SudokuGrid.toString() hard-codes the 9x9 scheme.
Even though it's the first time I'm writing something this "big", it feels like I know C# quite good. It's been nice to learn LINQ also and I am very impressed by the features, and perhaps I have overused it here (if it's possible to do that).
SudokuFactory: Contains static methods to create so...
Even though it's the first time I'm writing something this "big", it feels like I know C# quite good. It's been nice to learn LINQ also and I am very impressed by the features, and perhaps I have overused it here (if it's possible to do that).
SudokuFactory: Contains static methods to create so...
I don't want to get "corrupted" just yet, I barely skimmed over your code (got a couple observations and suggestions already) - I'll post a review when I get my puzzle solved. And you're freakin' nuts - solving a Sudoku is too easy for Ninja Forsberg, you had to make it solve a Samurai Sudoku!
Some "memes"...
A few expressions have come up recently, thought I'd share them here (feel free to add, this is CW!)
Running out of ammo: when you have exhausted all 40 votes for the day.
Head shot: when you're out of ammo and post a target in chat, and then someone puts in a vote for you.
Wak...
I write abstract repository
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
namespace Framework.DataLayer
{
public class Context<T> : IContext<T> where T : class
{
private readonly Db...