Commit d5eaad9
Update abstract.md - keyword abstract , added abstract class constructor example (#44223)
* abstract.md added information about abstract class constructor
While we can't create an instance of an abstract class, we still can use its constructor - I've add an example showing that.
* Update abstract.md - abstract class constructor example
While we can't create an instance of an abstract class, we still can use an abstract class constructor. I've prepared an example of the use of abstract class constructor
* Update abstract.md
* Update abstract.md - abstract class constructor
Updated remarks about using abstract class contructor
* Update abstract.md - additional point about parameterless constructor in example 3
* Update csrefKeywordsModifiers.cs
* Update abstract.md - example 3 put to the snippets
* Update abstract.md - example code put to snippets
* Update abstract.md - fixed lint issues
* Update samples/snippets/csharp/VS_Snippets_VBCSharp/csrefKeywordsModifiers/CS/csrefKeywordsModifiers.cs
* Apply suggestions from code review
---------
Co-authored-by: Bill Wagner <[email protected]>1 parent f72a96a commit d5eaad9
File tree
2 files changed
+60
-1
lines changed- docs/csharp/language-reference/keywords
- samples/snippets/csharp/VS_Snippets_VBCSharp/csrefKeywordsModifiers/CS
2 files changed
+60
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
78 | 92 | | |
79 | 93 | | |
80 | 94 | | |
| |||
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
801 | 846 | | |
0 commit comments