Created
May 30, 2023 20:22
-
-
Save xanthalas/47868b07574c6b02178acc0636be39ac to your computer and use it in GitHub Desktop.
Blog-CreatorClasses-1
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
| public class Person | |
| { | |
| public Person( | |
| string firstName, | |
| string lastName, | |
| int age, | |
| IEnumerable<string> hobbies, | |
| IEnumerable<string> favouriteThings) | |
| { | |
| this.FirstName = firstName; | |
| this.LastName = lastName; | |
| this.Age = age; | |
| this.Hobbies = hobbies; | |
| this.FavouriteThings = favouriteThings; | |
| } | |
| public string FirstName { get; } | |
| public string LastName { get; } | |
| public int Age { get; } | |
| public IEnumerable<string> Hobbies { get; } | |
| public IEnumerable<string> FavouriteThings { get; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment