I am trying to make a Library for my own use. It's going to be a System.Net.Socket with support for SOCKS4/5 Proxy Servers. I have different variables, so i wanted one Struct for the Server i am connecting to and another struct for the proxy server i am connecting through. However i have two projects, one is the console and one is the library. I am not sure if i can do what i want to do.

This is an example of what i want to do, but i am sort of learning about Inheritance and Polymorphism as i go lol

Code:
using System;

namespace Test
{
	class Class1 : Class2
	{
		static void Main()
		{
			myClass Class2 = new Class2();
			variables myClass.myStruct = new myClass.myStruct();
			variables.x = 5;
		}
	}

	class Class2
	{
		struct myStruct 
		{
			int x;
			int y;
		}
	}
}
This is what i am doing

Code:
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using Test.Socket;

class Test {
	static void Main()
	{
		Socket s = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);

		s.ProxyEndPoint = new IPEndPoint(IPAddress.Parse("SERVER"), PORT);
		s.ProxyUser = "username";
		s.ProxyPass = "password";
		s.ProxyType = ProxyTypes.Socks5;

		s.Connect("SERVER", PORT);
	}
}
I want it to be like

Proxy.User
Proxy.Pass
Proxy.Type
Proxy.EndPoint
Proxy.Server
Proxy.Port

However those are Properties in a different class. Is it possible to make properties within a struct within a totally different class/project?

Sorry if i rambled alot, i am just horribly confused . If you have ANY Questions please ask and i will try my best to answer them.

Thank You So Much