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 Dana
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #283852 |
At the time this answer was posted, python was not a part of the question. I have put a note on my answer noting that the question has changed since this answer was posted, but I'm leaving the answer for anyone interested in other languages. (more) |
— | about 3 years ago |
Edit | Post #283852 |
Post edited: Noting change in question. |
— | about 3 years ago |
Edit | Post #284374 | Initial revision | — | about 3 years ago |
Answer | — |
A: How does PathData work? The Android VectorDrawable builds upon the SVG file format. (https://developer.android.com/reference/android/graphics/drawable/VectorDrawable) > android:pathData Defines path data using exactly same format as "d" attribute in the SVG's path data. This is defined in the viewport space. Y... (more) |
— | about 3 years ago |
Edit | Post #283852 | Initial revision | — | about 3 years ago |
Answer | — |
A: Are there practical reasons for designing a method-only class/object? The question has since been changed to specify certain languages that are not strictly object-oriented. Leaving this answer for anyone coming here looking for info about object-oriented languages. By method-only, I believe you are trying to specifically rule out classes that define member variable... (more) |
— | about 3 years ago |
Edit | Post #282934 | Initial revision | — | over 3 years ago |
Answer | — |
A: Why storing variables inside a variable? Some variables make sense to bundle together. For example, if you have a graphics method to draw an image, you will need to pass in an X and Y coordinate for where to draw the image. Those are two separate variables. > DrawImage(double x, double y, Image img); But, logically, they're a sin... (more) |
— | over 3 years ago |
Edit | Post #282573 | Initial revision | — | over 3 years ago |
Answer | — |
A: How to find out which packages target .NET 3.1 in a .NET 5 application? You could start to track down the problem by using Assembly.LoadFrom() to attempt loading each library individually. I have a routine in a .NET 5 solution that performs some analysis on assemblies deployed with my application. I retooled it a bit here to make something that would work as part of a... (more) |
— | over 3 years ago |
Comment | Post #280924 |
Specifically for the OP's question about List there is already a ForEach method defined. It's been there in the List since .NET Framework 2.0
https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.foreach (more) |
— | over 3 years ago |