Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# string right extension

public static partial class Extensions
{
    /// <summary>
    ///     A string extension method that return the right part of the string.
    /// </summary>
    /// <param name="this">The @this to act on.</param>
    /// <param name="length">The length.</param>
    /// <returns>The right part.</returns>
    public static string Right(this string @this, int length)
    {
        return @this.Substring(@this.Length - length);
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# override gethashcode 
Csharp :: convert pdf to image c# 
Csharp :: in c sharp how do you work the wait function 
Csharp :: how to generate a random number in c# 
Csharp :: static class can have non static member in c# 
Csharp :: get appsettings from app.config c# .net core 
Csharp :: visual studio c# mark class deprecated 
Csharp :: get connection string from web.config in c# 
Csharp :: c# get distinct values all fields from list 
Csharp :: what is list in c# 
Csharp :: XMLWriter write xml C# 
Csharp :: c# linq list select 
Csharp :: change line color in c# 
Csharp :: longest substring without repeating characters leetcode 
Csharp :: visitor pattern 
Csharp :: where to write fluent api 
Csharp :: max index array c# 
Csharp :: c sharp list 
Csharp :: get key in dictionary c# 
Csharp :: get position of another object unity 
Csharp :: c# divide two integers get float 
Csharp :: listview inter thread operation not valid 
Csharp :: how to do that a objetct moves in c# 
Csharp :: null-conditional operators c# 
Csharp :: how to make randomizer c# 
Csharp :: telerik winforms get value of selected rows from grid 
Csharp :: how to parse mongo db json in c# 
Csharp :: c# generic enum value to int 
Csharp :: Reading emails from Gmail in C# 
Csharp :: camera in raylib c# 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =