Hi all
check out the class I am using static function in it.

C# Code:
  1. class sample
  2. {
  3.     int i;
  4.     static int count = 0;
  5.     sample()
  6.     {
  7.         i = 0;
  8.         count++;
  9.     }
  10.     static void ShowCount()
  11.     {
  12.         Console.WriteLine(count);
  13.     }
  14. }

But When I am calling the object of the class I am getting error at the underline part..
C# Code:
  1. class Program
  2.     {
  3.         static void Main(string[] args)
  4.         {
  5.             sample s1=new sample();//First Error
  6.             sample.ShowCount(); //Second Error
  7.         }
  8.     }

The error saying that
1)'sample.sample()' is inaccessible due to its protection level
2)'sample.ShowCount()' is inaccessible due to its protection level

So what is the problem , what I am doing wrong here.
Thanks