Skip to main content

C# පළමු කොටස...

<!--[if !mso]> <![endif]

C# පළමු කොටස...
C# පළමු කොටසේදී අපි CONSOLE APPLICATIONS එකක් හදන්නේ කොහොමද කියල බලමු..
 මේ සදහා මම Visual Studio 2010 තමය් භාවිතා කරන්නේ..






01- Visual Studio 2010 icon එක මත Double Click කරන්න. එවිට ඔබට පහත පරිදි window එකක් දැකගත හැකිවෙය්..


02- ඉන් පසුව එහි වම් පස ඉහල කෙලවරෙහි ඇති File menu එක Click කර --> New --> Project ‍තෝරා click කරන්න..


03-එවිට ලැබෙන window එකෙහි වම් පස ඇති Recent Templates හි
Visual C# --> Windows තෝරා රූපයේ අකාරයට මැද තීරුවේ Console Application යන්න ‍තෝරන්න..

ඉන් පසුව Solution Name සදහා ConsoleApplication1 යොදන්න..
දැන් OK කරන්න..

04- දැන් ඔබට පහත පරිදි Source Code අඩංගු window එකක් ලැබෙවි..


05- පහත Highlight කර ඇති Codes රූපයේ පරිදි එයට ඇතුලත් කර save කරන්න.


06- දැන් Debug Menu එකේහි ඇති Start Debug යන්න Click කර (හෝ F5) ඔබට Application එක Run කර ගත හැක.. එවිට පහත පරිදි දැක ගත හැක..




07-දැන් Close Button එක Click කර Exit වන්න..
C# වලින් ඔබෙ පළමු Console Application එක දැන් සාදා අවසානයි.. මීලග කොටසේදී අපි එහි Source Code එක ගැන පියවරෙන් පියවර කතා කරමු..



-->

Comments

Popular posts from this blog

Imagine Cup 2014

Hi guys .. Get ready for imagine cup 2014 In NewZealand .In the next few days imagine cup 2013 finals will happen in Russia. So It is time to wear your thinking hat.You have one year to develop your marvelous ideas.  The Microsoft Imagine Cup is the world’s most prestigious student technology competition, bringing together student innovators from all over the world. If you have a great idea for a new app, bring it to life through Imagine Cup. Over the past 10 years, more than 1.65 million students from 190 countries have participated in the Imagine Cup. 

Visual Studio 2013 New Editor Features

In Visual Studio 2013, we have introduced new features that boost productivity and save time when working inside the Editor. Some of these are new features and some are the most popular extensions from  Productivity Power Tools . These features are a result of the feedback you gave us through  User Voice  requests, forum posts and Connect bugs. The MVP community also helped us pick some of these experiences. Our primary focus for the Editor in this version is to keep the developer in context as much as possible. This blog post describes capabilities that bring information to your fingertips and allow you to do as much as possible without leaving your place in code.

C# Character Escape Sequences

Character combinations consisting of a backslash ( \ ) followed by a letter or by a combination of digits are called "escape sequences." To represent a newline character, single quotation mark, or certain other characters in a character constant, you must use escape sequences. An escape sequence is regarded as a single character and is therefore valid as a character constant.