Draw star pyramid using C#

Sample input: 5 Sample output: Code: /*Author: Md. Mahedee Hasan*/ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StarPyramid { class Program { static void Main(string[] args) { Console.WriteLine(“Enter a number to draw pyramid: “); int nRow = 0; nRow = Convert.ToInt32(Console.ReadLine()); for (int row = 1; row

Folder permission from windows command line

To give all permission in temp folder for every one, run command prompt with admin privilege and then run the following command. Here, /t means “apply change recursively” /e means “edit existing DACL”. Alternative way You can try with the following command C:>icacls “C:\Windows\temp” /grant mahedee:(OI)(CI)F Here, F= Full Control CI= Container Inherit OI= Object

Read More