Close

Visual Studio

c# – Random Number Generator

Here’s a quick a simple class for creating a a series of random numbers, by creating an instance of the “Random” class, and applying this class’s next() method: http://msdn.microsoft.com/en-us/library/system.random%28v=vs.110%29.aspx Here is the code: [csharp] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RandomNumberGenerator { class Program { […]

Read More

c# – Arrays

Arrays are used to store a a group of items as a collection: [csharp] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arrays { class Program { static void Main(string[] args) { // Here we are creating an array called "vowels", that can house up to 5 […]

Read More

c# – Generics: Lists

Arrays have a big limitation is that you cant extend the array to hold more than the number items it was originally defined to hold. As a result a lot of people uses “lists” as an alternative. You can find the lists class in the following namespace: System.Collections.Generic Here is […]

Read More

c# – Introduction

C# is a powerfull object oriented program language. It is heavily engineered programming language. In this tutorials you are going to learn all kinds of things. In our tutorials we will show you a lot of things that won’t make a lot of things until much later. That’s why we […]

Read More