Results 1 to 10 of 24
Hybrid View
-
18th Jun 2010, 12:29 AM #1Respected Developer
Don't confuse using with includes. Using in C# is nothing but a shortcut and has no impact on performance.
Example:
PHP Code:System.Console.WriteLine("You know...");
System.Console.WriteLine("Writing system all the time gets anoying real quick.");
System.Console.WriteLine("That's why 'using' is the best thing since sliced bread!");
PHP Code:using System;
PHP Code:Console.WriteLine("You know...");
Console.WriteLine("Writing system all the time gets anoying real quick.");
Console.WriteLine("That's why 'using' is the best thing since sliced bread!");
PHP Code:using System;
using c = System.Console;
PHP Code:c.WriteLine("You know...");
c.WriteLine("Writing system all the time gets anoying real quick.");
c.WriteLine("That's why 'using' is the best thing since sliced bread!");
Hyperz Reviewed by Hyperz on . [c#] variables, ifs, simple math and drawing objects Here is a little tutorial explains how to declare and use strings and integers, how to perform a basic integrity check and how to make use of these values by using an object. It also shows how to create these objects without using the Design view of Visual Studio. The code has been commented to make it easier to read, and is fully functional. You can simply copy-paste its entirety into a new project. using System; using System.Collections.Generic; using System.ComponentModel; using Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
SSH Command Variables
By Maverick in forum Server ManagementReplies: 1Last Post: 11th Jan 2012, 05:40 AM -
C++ Variables & IO [Lesson 2]
By NucleA in forum Web Development AreaReplies: 1Last Post: 11th Dec 2010, 08:30 PM -
How to streamline objects in PHP!
By litewarez in forum Tutorials and GuidesReplies: 8Last Post: 29th May 2010, 05:26 PM -
Swap photo/avatar variables
By Golden Falcon in forum IP.BoardReplies: 7Last Post: 12th Feb 2010, 06:18 PM -
Optimizing the mysqld variables
By Lease in forum Technical and Security TutorialsReplies: 0Last Post: 14th Jan 2008, 05:30 AM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...