Tuesday, November 12, 2019

Link to Download latest version of Visual Studio 2017

Visual Studio 2017 comes in three different editions. Which are,

  1. Visual Studio Community 2017
  2. Visual Studio Professional 2017
  3. Visual Studio Enterprise 2017

You can install multiple editions of Visual Studio 2017 side-by-side.

Click a button below to download the latest version of Visual Studio 2017:

Community:
    Powerful IDE, free for students, open-source contributors, and individuals, open-source contributors, and individuals.

Click here to download Visual Studio Community 2017

Professional:
    Professional IDE best suited to small teams.

Click here to download Visual Studio Professional 2017

Enterprise:
    Scalable, end-to-end solution for teams of any size.

Click here to download Visual Studio Enterprise 2017

(Solved) This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

IIS Error Message:

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

Solution:
  1. Click "Start button"
  2. in the search box, enter "Turn windows features on or off"
  3. in the features window, Click: "Internet Information Services"
  4. Click: "World Wide Web Services"
  5. Click: "Application Development Features"
  6. Check (enable) the features.
It should be working now.

Friday, September 6, 2019

Sample C# program to print left rotation of an array

Here is a sample C# program to print the left rotation of an array to k times very Quickly. This program succeeded all test cases in HackerRank challenge.

Program :
static public void Main ()
{
    int[] arr = {1, 4, 5, 6, 2};

    int length = arr.Length;
    int k = 2;

    LeftRotate(arr, length, k);
}
static void LeftRotate(int[] arr, int length, int k)
{
    for (int i = k; i < k + length; i++)
    {
        Console.Write(arr[i % length] + " ");
    }
}

Output :
5 6 2 1 4