Unsafe block in c# to perform low level operation

Posted by Sourav.Kayal under C# category on | Points: 40 | Views : 719
using System;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
using System.Xml;
using System.IO;
using System.Diagnostics;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading;
namespace BlogProject
class Program
static void Main(string[] args)
int* fib = stackalloc int[100];
int** p = fib;
*p = 100;
Console.ReadLine(); //Because set property is declare as private

Comments or Responses

Login to post response