Appeal appeal new Appeal();
repdate = appeal.Reply.Date;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
A test = new A();
Console.WriteLine(test.bPart.testMethod());
Console.ReadLine();
}
}
class A
{
public B bPart = new B();
public class B
{
private string testB = "I'm test in class B";
public string testMethod ()
{
return testB;
}
}
}
}
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
A test = new A();
Console.WriteLine(test.B.testMethod());
Console.ReadLine();
}
}
class A
{
public class B
{
private string testB = "I'm test in class B";
public string testMethod ()
{
return testB;
}
}
}
}