log4net and NUnit
[TestFixture, Category("Exchange")]
public class TestExchangeApplication : ApplicationTest
{
static readonly ILog log = LogManager.GetLogger(typeof (TestExchangeApplication).Name);
.....
What development would be like in a better place...
[TestFixture, Category("Exchange")]
public class TestExchangeApplication : ApplicationTest
{
static readonly ILog log = LogManager.GetLogger(typeof (TestExchangeApplication).Name);
.....
Peter Naur wrote an article that describes the internal process of writing programs. It one of those things you read and instinctively know that it is right.
One important conclusion from this is documentation should be trying to explain why a program does things, and why is it designed the way it is.Naur also explains why programs degrade over time, and that program modification has very real costs.
Read the full article here.In software development, we need to remember that we can never write specification and design documents that actually explain what we mean. We have to assume the reader has a certain level of experience.
class ConsoleApp
{
static void Main(string[] args)
{
SomeDelegate dele = SomeMethod;
dele();
}
delegate void SomeDelegate();
void SomeMethod()
{
Console.WriteLine("hello");
}
}