Internet Application Development week 6, an introduction to C#.

The fist part of the lecture covered the basic data types and operators (most of which are the same as Java). Control structures and operators came next, again these reflected Java very closely.

Internet Application Development week 6, an introduction to C#.

The fist part of the lecture covered the basic data types and operators (most of which are the same as Java). Control structures and operators came next, again these reflected Java very closely.

Collections in the C-Sharp language are again a mirror of the Java language.

Functions are the methods of Java:
[cc lang=”c#”]
string MyFirstFunction(string Name, int Age)
{



return “Confirmed”;
}
[/cc]

its ok for microsoft to copy open source but not the other way around...

To give a feel for the syntax and a useful tool, the code snippet below draws a table of web server information dynamically.

[cc lang=”c#”]

[/cc]

I feel a little uneasy with the object oriented nature of C# and how functions associated with specific pages can be associated with the object paradigm. As with any coding language the best way is to start writing it!

Another quick example:
[cc lang=”c#”]

[/code]

[/code]

I feel a little uneasy with the object oriented nature of C# and how functions associated with specific pages can be associated with the object paradigm. As with any coding language the best way is to start writing it!

Another quick example:
[code]

[/cc]