Пример #1
0
        static void Main(string[] args)
        {
            PartialClass instance = new PartialClass();

            instance.CallPartialMethod();

            //Delay
            Console.ReadKey();
        }
Пример #2
0
        public void NunitTestAPartialClass()
        {
            var partialClass = new PartialClass(15);

            Assert.Throws <Exception>(() => partialClass.CallPartialMethod(), "15");
        }