Created
August 21, 2020 07:22
-
-
Save jindeveloper/d99fdf7c25296a65ddde23e9c2fdc2cf to your computer and use it in GitHub Desktop.
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 CSharp_Attributes_Walkthrough.My_Custom_Attributes; | |
| using System; | |
| namespace CSharp_Attributes_Walkthrough.My_Custom_Attributes | |
| { | |
| public class AliasAttribute : Attribute | |
| { | |
| //.... | |
| //Added an optional-parameter | |
| public string AlternativeName { get; set; } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment