// Sample Solution
///////////////////////////////////////////////////
// Program.cs code
using System;
namespace StaticMembers
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Forest.ForestsCreated);
Forest f = new Forest("Forest F");
Forest g = new Forest("Forest G");
Console.WriteLine(Forest.ForestsCreated);
}
}
}
No comments:
Post a Comment