Archive for the ‘C Sharp’ Category
Wednesday, October 24th, 2007
The command-line interaction is a basic element of c#, it allows a program to accept input from a user. Typically, it works
like this: prompt user for input, they enter information, and program takes action.
// Declare Namespace
using System;// Start "Program" Class
class InteractiveWelcome
{
// begins program execution.
public static void Main()
{
// Write to console ...
Posted in C Sharp | No Comments »
Tuesday, July 17th, 2007
Start\Run menu then go to:
-Run regedit.exe
Then go to:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList key,
delete the values.
Posted in C Sharp | No Comments »
Thursday, June 21st, 2007
C Sharp provides neat functionality to build a console application. The following example is a really simple one using variables with classes defined.
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
string firstName;
string lastName;
Variables(out firstName, out lastName);
Console.WriteLine(firstName);
Console.WriteLine("Please, press enter to contineue");
Console.ReadLine();
...
Posted in C Sharp | No Comments »
Monday, June 18th, 2007
Let me get this week started with a basic example of WinForm application. I know, i should've done a smoother transition from coldfusion to c#, but it has been a tough week understanding with so much less community work in coldfusion communities.
Here is our C# application code:
using System;
using System.Windows.Forms;
public class ...
Posted in C Sharp | No Comments »
Sunday, June 17th, 2007
I will start posting some post related to C Sharp and visual studio in upcoming weeks, i would highly recommand grabbing this free developer stuff if you dont already have:
http://msdn.microsoft.com/vstudio/express/downloads/
Posted in C Sharp | No Comments »