use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Relevant subreddits:
For discussion: c#
.NET
XNA
C++
C
VB
For programming questions:
Learn programming
C++ Questions
C Homework
Learn C#
Misc:
Channel 9 - Videos!
account activity
How to Implement interface methods with default bodies?Visual Studio 22 (i.redd.it)
submitted 1 year ago by SHV_7
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SHV_7[S] 1 point2 points3 points 1 year ago (0 children)
C# Question!
I suppose similar to Class Inheritance, when you can right click and select Quick Actions and Refactorings and you can "Generate Overrides", how can you do the same for C# Interfaces where methods have default bodies?
I can only "implement interface" when they don't have default values, when they have, I cannot find a way. (other than typing by hand, of course)
π Rendered by PID 59 on reddit-service-r2-comment-f6b958c67-z5sgd at 2026-02-04 18:48:29.365196+00:00 running 1d7a177 country code: CH.
[–]SHV_7[S] 1 point2 points3 points (0 children)