This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace DPs | |
| { | |
| class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| UsernameTest(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace DPs | |
| { | |
| class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| UserNameFactoryTest.TestUserNameFactory(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace DPs | |
| { | |
| class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| var username = new Username("Nikita", "Sinhal"); | |
| Console.WriteLine(username); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| //using static System.Console; | |
| using System.Collections.Generic; | |
| public class MainClass | |
| { | |
| public static void Main(string[] args) | |
| { | |
| var shapes = new List<Shape> { | |
| new Rectangle(), | |
| new Triangle(), |