Results 21 to 24 of 24
-
18th Jun 2010, 12:29 AM #21Respected 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!");
-
18th Jun 2010, 05:01 AM #22MemberWebsite's:
Rapidleech.com FullMaza.com WarezOcean.com MediaFireForum.comI couldn't understand even a bit of this thread....
I guess, i shouldn't dig my hands into C# yet.
-
18th Jun 2010, 10:06 AM #23Respected Developer
Well if you never start learning your never gonna understand it .
-
18th Jun 2010, 04:52 PM #24MemberWebsite's:
litewarez.net litewarez.com triniwarez.comyea i understand what you was sating about the "using" keyword. and i know about name-spaces etc and not to be confused with includes etc. just was not sure about the compilation of files, weather theres an include system with C and name-spaces, i understand now that they all below to the one assembly so using would make methods available in that file without using its parents !
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
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.24 released. Open older version (or...