Utilize a simple extension method to capitalize the first letter of a string.
public class Program
{
static void Main(string[] args)
{
string s = “toUpperFirstLetter”;
// ToUpperFirstLetter is the extension method defined below
[...]
Continue reading about C# To Upper Case First Letter of a String
Pointer usage in C#, it must be in unsafe context
static unsafe void Main()
{
int i;
int[] array = { 11, 22, 33 };
// pointer pi has the address of variable i
int* pi = & i;
// ppi(addess of pi) < pi(addess of i) < i(0)
i = [...]