Split Geekbot.net into src/Bot, src/Core, and src/Web
This commit is contained in:
parent
7b6dd2d2f9
commit
fc0af492ad
197 changed files with 542 additions and 498 deletions
12
src/Core/Extensions/StringExtensions.cs
Normal file
12
src/Core/Extensions/StringExtensions.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System.Linq;
|
||||
|
||||
namespace Geekbot.Core.Extensions
|
||||
{
|
||||
public static class StringExtensions
|
||||
{
|
||||
public static string CapitalizeFirst(this string source)
|
||||
{
|
||||
return source.First().ToString().ToUpper() + source.Substring(1);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue