using System; namespace PracticeArrays { class PlayingWithArrays { public static void Main(string[] args) { //[1][2][3][5] int[] myCoolNumbers ={0,1,2,3,5,8};//memory //[0][1][2][3][5][8] … [Read more...] about How to create single dimension arrays in c#?
How to run/compile C# application in Ubuntu/Linux?
How to run C# application in ubuntu?
Let's get started, pull up a terminal and fire up sublime install mono-gmcs to compile our C# programs Now we are ready to write some code! let's get started by creating our first class and call it printHello.cs Let's go ahead and save this class but let's … [Read more...] about How to run C# application in ubuntu?
How to echo MySQL statement in Zend Framework?
echo $select->__toString(); $this->_helper->viewRenderer->setNoRender(true); … [Read more...] about How to echo MySQL statement in Zend Framework?
Algorithms & Data Structures
Why the Videos? I'm a college student studying the art of computer science, since this semester I'm taking algorithms and data structures i decided to create videos as i learn new information about the analysis of algorithms and data structs. All this sounds good … [Read more...] about Algorithms & Data Structures
C# Programming
Why the Videos? I'm a college student studying the art of computer science, since this semester I'm taking advance C# programming, I decided to create videos as i learn new information about C# and the .net framework. All this sounds good but what is it in it for … [Read more...] about C# Programming
Software Engineering
Why the Videos? I'm a college student studying the art of computer science, since this semester I'm taking Software Engineering 1 I decided to create videos as i learn new information about software engineering. All this sounds good but what is it in it for me? … [Read more...] about Software Engineering
What’s a strategy pattern?
Defines a family of algorithms, encapsulates each one and makes them interchange. strategy lets the algorithm vary independently from clients that use it. … [Read more...] about What’s a strategy pattern?
Wrapper class that prints integral types (byte, short, int and long) in columns.
package Wrapper; public class wrapper { public static void main(String []args) { System.out.printf("%10s: %,-30d %,-30d%n ", "Byte ", Byte.MIN_VALUE, Byte.MAX_VALUE); System.out.printf("%10s: %,-30d %,-30d%n ", "Short ", … [Read more...] about Wrapper class that prints integral types (byte, short, int and long) in columns.
A new type of String in C# verbatim Strings!
using System; using System.Collections.Generic; using System.Linq; namespace firstProject { class Program { static void Main(string[] args) { //verbatim string string foo = @"This is an as is a verbatim string with … [Read more...] about A new type of String in C# verbatim Strings!