hi all,
Am new in c# console application , i have a few clarification that is ,
is there any possibility to access private method in to the main function
my code below:
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
}
public class c : Program
{
private void sample()
{
Console.WriteLine("hi");
Console.ReadKey();
}
}
}
}
thanks in advance.