Bujju
✅ Exception message not working
I have this code for an exception:
And this code for throwing the exception:
But when the exception is thrown, the message is "Exception of type 'DiscordIntegration.Exceptions.WebhookExecutionFailedException' was thrown.'" instead of the value of
error.Message
.5 replies
Levenshtein distance method throwing `IndexOutOfRangeException` [Answered]
I have this code to calculate levenshtein distance:
When
string1
is empty and string2
is "Example", it works.
When string1
is "Ex" and string2
is "Example", it throws an IndexOutOfRangeException
.25 replies
Where is AssemblyInfo.cs [Answered]
I just learned that I am not supposed to make my projects using the .NET Framework project templates, and I can't find AssemblyInfo.cs to set the version in my new project. I tried to make the file myself, but it said the version attributes were duplicates.
69 replies