OssieFromDK / DeadByDaylight-Unlocker

A Dead By Daylight unlocker for Skins, Characters, Perks & Items - Works for (Steam) / Epic Games Store / Microsoft Store
https://fortniteburger.vip
MIT License
82 stars 10 forks source link

refactor: use appropriate overloaded `string` methods when passing `char` as an argument #16

Closed deepsource-autofix[bot] closed 6 months ago

deepsource-autofix[bot] commented 6 months ago

Methods such as string.Contains and string.IndexOf allow you to search for an occurrence of either a single char or a substring within a string. If you'd like to search for an occurrence of a single char, it is recommended that you use the appropriate method that takes a char as a parameter rather than a string as the former approach is more performant and recommended.