|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ComponentNetBase;
namespace ComponentNet
{
public class Class1 : BaseClass1
{
public Class1()
{
Count = 0;
Console.WriteLine("Class1 ctor is called.");
}
public int Add(int a)
{
Count += a;
return Count;
}
public int Subtract(int a)
{
Count -= a;
return Count;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.