Cse 4307
Cse 4307
C) Use IAnimal interface and demonstrate how it can be used to print different animal
sound through C# program. (3)
3) Illustrate how a unary operators (+) inside a class Complex can be overloaded in a
C# program.
(3)
A)
B) Apply concept of Regular expression to write C# program which checks given
mobile number 9925612824 (12 Numbers) and 897-4567-456 (10 Numbers) are (4)
valid and rest number types are invalid.
C) Demonstrate events by considering Order class as publisher and Email and SMS
classes are subscribers through C# program. (3)
4) Show how .NET platform address the problems of DLL Hell through assemblies
(3)
A)
B) Write a C# program that creates and initializes a list of strings, removes an element,
and adds an element to the end of the list. After each modification, it iterates through (5)
the strings by using a foreach statement or a for loop
A)
B) Use Deny() method and write an C# program after building the code the output will
state Failed to open file. (3)
C) Demonstrate how WPF supports graphical subsystem for rendering user interfaces in
Windows-based applications with its key features. (4)
-----End-----