Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for LyndonGingerich‭

Type On... Excerpt Status Date
Comment Post #292707 Actually, Rider does not always suggest the simplification. I was wrong about that. Probably it only suggests the change when the value is a static `struct` such as an `int` or a `bool`. I would accept either @#65961's or @#85546's comments as answers.
(more)
about 2 months ago
Edit Post #292899 Initial revision about 2 months ago
Question Do Where and OfType preserve List capacity?
Unless I am mistaken, `myList.Select(a => a).ToList()` initializes the resulting list to the capacity of `myList.Count`. Does `myList.Where(a => true).ToList()` do so or does it build up from the initial capacity? What about `OfType`?
(more)
about 2 months ago
Comment Post #292707 @#65961 I don't care about performance per se, but about understanding the language. I should have worded my question differently. Confirmation that a get-only property and a calculated property are different answers my question. Many thanks!
(more)
2 months ago
Comment Post #282544 This might have been better in Code Reviews.
(more)
3 months ago
Edit Post #292707 Initial revision 3 months ago
Question C#: Performance hit from using calculated property instead of get-only property with initializer?
JetBrains Rider suggests that I change this (for example): ```csharp public class Foo { public int OnePlusOne { get; } = 1 + 1; } ``` to this: ```csharp public class Foo { public int OnePlusOne => 1 + 1; } ``` As I understand it, the first example runs the calculation once...
(more)
3 months ago
Edit Post #290885 Initial revision 10 months ago
Question Email alerts for notifications
How can I get an email when I get a notification on Codidact? I missed an answer because I thought I would get an email for it.
(more)
10 months ago
Comment Post #290818 Pardon, but I don't understand. Isn't this Q&A? It's under the Q&A tab.
(more)
10 months ago
Edit Post #290818 Initial revision 10 months ago
Question Git command formatting characters in msbuild are interpreted incorrectly
I wish to add a property with the date of the current Git commit to the assembly info. From my .csproj: ```xml ``` Build output interpretation: `git -C "\." log -1 --pretty=format:-­` Output: `-` Using raw format: ```xml ``` Build output interpretation: `git -C "\...
(more)
10 months ago