Articles → CSHARP → Internal Class In C#
Internal Class In C#
Purpose
Example
- 2 class library projects
- 1 console application.
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();
}
}
}