using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using n_s_1;
using n_s_1.n_s_1_1;
using n_s_1.n_s_1_2;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {        
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Class1 c = new Class1();             
            n_s_1.n_s_1_1.test_1 t = new n_s_1.n_s_1_1.test_1();
            MessageBox.Show(t.x_1.ToString());
            
        }
    }
}


//////////////////////////////////////////////////////Class1.cs////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace n_s_1
{
    namespace n_s_1_1
    {
        class test_1
        {
            public int x_1 = 10;
        }
    }
    namespace n_s_1_2
    {
        class test_1
        {
            public int x_2 = 20;
        }
    }
    partial class Class1
    {
        public int x = 1;
    }
    partial class Class1
    {
        public int z = 3;
    }
}
namespace n_s_1
{
    partial class Class1
    {
        public int y = 2;
    }
}