❔ Find common substring at start of every string in list
I have a list of Windows path strings and I want to determine the common beginning shared by all of them, if such a thing exists.
So, a list like:
would output the string
C:\User\
.
How to smoothly accomplish such a thing?A
Accord•414d ago
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
52KMembers
View on DiscordWant results from more Discord servers?
More Posts❔ Code is completely skipping over an areaI'm writing a script for a game where if you don't press Spacebar within 4 seconds, the number of fa❔ Registering an extracted appx package```csharp
public static void RegisterMinecraftAppxPackage(string appxPackagePath) {
try {
✅ Exception Handling for NRE without modifying every call.I have a ReadData function which reads the memory of a process. If the process exits or crashes duri✅ please help idk what to do or what i didSeverity Code Description Project File Line Suppression State
Error Project