Hello all.
I'm a tool, tired and completely out of my depth!!
I have created the following class based on some old code so one has kindly given me. However, I cannae get past the error as described in the title.
The classe is as follows
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.CompilerServices;
namespace VDSORDAL
{
public abstract class ObjectComparer<T> : IComparer<T>
{
public ObjectComparer(string compareField, string direction);
private string compareField;
public string CompareField
{
get { return compareField; }
set { compareField = value; }
}
public string Direction
{
get { return compareField; }
set { compareField = value;}
}
public abstract int Compare(T x, T y);
}
}
Can someone point out the error in my ways and also give me a brief explanation as to what I am doing wrong and why it is throwing this error?
Any help gratefully received.