Articles → .NET → Internal class in C#

Internal class in C#






Purpose





Example










namespace Another_Lib {
	public class LIB1 {}
}




namespace Internal_demo {
	internal class LIB2 {
		public LIB2() {

        }
	}
}





Using DLLs in console application




using Another_Lib;
using Internal_demo;
namespace Consumer {
	class Program {
		static void Main(string[] args) {
			LIB1 l1 = new LIB1();
			LIB2 l2 = new LIB2();
		}
	}
}






Posted By  -  Karan Gupta
 
Posted On  -  Monday, December 18, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250