Here's a simple example for the thin requirement you've stated:
Class Matrix
{
public Matrix (int n, int m)
{
}
public Matrix CrossProduct(Matrix M)
{
}
}
Class UsingTheClassMatrixExample
{
public static DoStuff()
{
Matrix M1 = new Matrix....
Matrix M2 = new Matrix....
Matrix CrossProduct = M1.CrossProduct(M2);
}
}
If you need further help, like how to use the Matrix class as a dll in a different project etc let me know.
Good luck,
Edo