Davoud Teimouri

Virtualization & Datacenter

Left and Right functions for string variables in C# .NET

I think VB.NET is an easy learning language and most functions are predefined, C#.NET is most powerful and faster than VB.NET, but we need to write some functions in C# for ourselves such as string functions.

C# has “substring” function under String class and we can simulate VB.NET Left and Right function by that.
Code:
 

Tips: Disable UAC – Windows

You can even change the following registry key to disable UAC: Location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System Key: EbableLUA Value data: 0

11,759 total views, 2 views today

Left and Right functions for string variables in C# .NET

Davoud Teimouri is as a professional blogger, vExpert 2015/2016/2017/2018, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Updated: 27/06/2017 — 5:52 pm

Leave a Reply

Your email address will not be published. Required fields are marked *

Teimouri.net © 2012 Frontier Theme
Read previous post:
Install Android-x86 v4.0 RC1 on Oracle VirtualBox

Android-x86 is a Linux-based operating system for mobile devices such as smartphones and tablet computers. It is developed by the...

Close