Table of Contents

Method EndsWithCharacter

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

EndsWithCharacter(string, char)

Tests whether given string ends with given character.

public static bool EndsWithCharacter(this string s, char c)

Parameters

s string

String to test.

c char

Character to test for.

Returns

bool

Whether the supplied string ends with supplied character.