<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=CSharp</id>
		<title>CSharp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=CSharp"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSharp&amp;action=history"/>
		<updated>2026-04-08T22:29:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CSharp&amp;diff=1483&amp;oldid=prev</id>
		<title>Minal: Created page with ''''C#'''  ----------------------------------------------------------------------------------------------------  ==Introduction to C#==  C#, known as 'C sharp' is a a computer pro…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSharp&amp;diff=1483&amp;oldid=prev"/>
				<updated>2012-12-11T10:29:38Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;&amp;#039;&amp;#039;&amp;#039;C#&amp;#039;&amp;#039;&amp;#039;  ----------------------------------------------------------------------------------------------------  ==Introduction to C#==  C#, known as &amp;#039;C sharp&amp;#039; is a a computer pro…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''C#'''&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
==Introduction to C#==&lt;br /&gt;
&lt;br /&gt;
C#, known as 'C sharp' is a a computer programming language developed by Microsoft Corporation, USA. It is fully object oriented language like Java, C++, Visual Basic, Cobol etc. It is a simple, efficient, type-safe language derived from the popular C and C++ languages. It is suitable for developing Web-based applications. C# is designed for building robust, reliable and durable component to handle real-world applications. C# is expected to play a major role in developing and co-operating networks of websites. C# is one of the programming languages designed for the Common Language Infrastructure. Common Language Infrastructure is open specification. It describes the executable code and runtime environment. &lt;br /&gt;
Recent version of C# is 4.0 developed in April 2010. We have C# 1.0 version, 1.2 version, 2.0 version, 3.0 version as well.&lt;br /&gt;
C# has a unified type system. A unified type system means that all types, including primitives such as integers, are subclasses of the System.Object class. For example, every type inherits a ToString() method.&lt;br /&gt;
C# comp[ilers are : Microsoft Visual C#,    &lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Basic Level ==&lt;br /&gt;
# '''Structure of C# program'''&lt;br /&gt;
#* The basic structure of C# program with an example&lt;br /&gt;
#* '''Example''': My first C# program - to print a line&lt;br /&gt;
#* How to save the program&lt;br /&gt;
#* Use of public keyword.&lt;br /&gt;
#* The main() method.&lt;br /&gt;
#* How to Compiling a C# program &amp;lt;br&amp;gt; csc filename.cs&lt;br /&gt;
#* How to Executing a C# program &amp;lt;br&amp;gt; filename.cs &amp;lt;br&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
#'''Variables &amp;amp; Data Types'''&lt;br /&gt;
#* Defines use of keywords as identifiers like int, float etc.&lt;br /&gt;
#* How values are stored in variables &lt;br /&gt;
#**'''Example''' : int a = 10; &amp;lt;br&amp;gt;Value stored in a is 10.&lt;br /&gt;
#* Variables and Data Types &lt;br /&gt;
#* Declaration, Initialization and Scope of variables &lt;br /&gt;
#**'''Example''' :  variablename = value;&lt;br /&gt;
#* Boxing and Unboxing &lt;br /&gt;
#**'''Example''' : We will box i &amp;lt;br&amp;gt; int i = 123; object o = i;&amp;lt;br&amp;gt;&amp;lt;br/&amp;gt; &lt;br /&gt;
# '''Operators and Expressions'''&lt;br /&gt;
#* Understanding different operators &lt;br /&gt;
#**Arithmatic Operators &amp;amp;nbsp; &amp;amp;nbsp; +, -, *, /, %, ++, -- &amp;lt;br&amp;gt;&lt;br /&gt;
#**Comparison Operators &amp;amp;nbsp; &amp;amp;nbsp; ==, !=, &amp;lt;&amp;gt;, &amp;gt;, &amp;lt;, &amp;gt;=, &amp;lt;= &amp;lt;br&amp;gt;&lt;br /&gt;
#**Logical Operators &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;&amp;amp; (AND), || (OR), ! (NOT)&lt;br /&gt;
#* Evaluation of expressions&lt;br /&gt;
#* Precedence of Arithmetic operators. &lt;br /&gt;
#**According to the priority &lt;br /&gt;
#**'''Example''' :  High priority *, /, %, and Low priority +, -  &lt;br /&gt;
#* Type Conversions- Converting numeric values to string and vice-versa.&lt;br /&gt;
#**'''Example''' : Converting short to an int. short a = 10; a = b;  /*implicit conversion*/&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;br&amp;gt;Converting numeric values to string. int m = 20; string s = m.Tostring();&lt;br /&gt;
#* Operator Precedence and Associativity- when more than one operator is evaluated &amp;lt;br&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#'''Decision Making and Branching''' &lt;br /&gt;
#* if statement - used to execute a specified condition &lt;br /&gt;
#** Syntax : &amp;lt;br&amp;gt;if(condition)&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;true statement;&amp;lt;br&amp;gt;}&lt;br /&gt;
#* if-else - used to executes a single statement or a group of statements &lt;br /&gt;
#**Syntax : &amp;lt;br&amp;gt; if(condition)&amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; true statement1; &amp;lt;br&amp;gt; } &amp;lt;br&amp;gt; else &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; false statement; &amp;lt;br&amp;gt; }&lt;br /&gt;
#* Nested if-elses - &lt;br /&gt;
#**Syntax : &amp;lt;br&amp;gt; if(condition) &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; true statement1; &amp;lt;br&amp;gt; } &amp;lt;br&amp;gt; else &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; if(condition) &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; true statement2; &amp;lt;br&amp;gt; } &amp;lt;br&amp;gt; else &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; false statement; &amp;lt;br&amp;gt; } &amp;lt;br&amp;gt; }&lt;br /&gt;
#* switch statement - use this statement to make a decision from a number of choices&lt;br /&gt;
#**Syntax : &amp;lt;br&amp;gt; switch(integer expression) &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; case1 : &amp;lt;br&amp;gt; execute statement1; &amp;lt;br&amp;gt; case2 : &amp;lt;br&amp;gt; execute statement2; &amp;lt;br&amp;gt; default : &amp;lt;br&amp;gt; execute this statement; &amp;lt;br&amp;gt; }&lt;br /&gt;
#* Use of ?: operator - use this statement for making two way decisions &lt;br /&gt;
#**Syntax : &amp;lt;br&amp;gt; expression1 ? expression2 : expression3&amp;lt;br&amp;gt; &amp;lt;br/&amp;gt; &lt;br /&gt;
#'''Looping''' &lt;br /&gt;
#* for loop -used when you know in advance how many times the script should run.&lt;br /&gt;
#**Syntax : &amp;lt;br&amp;gt; for(initialization; condition; increment \ decrement) &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; code to be executed &amp;lt;br&amp;gt; }&lt;br /&gt;
#* while loop - executes a block of code while a condition is true.&lt;br /&gt;
#**Syntax : &amp;lt;br&amp;gt; while(test condition) &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; code to be executed&amp;lt;br&amp;gt; }&lt;br /&gt;
#* do-while loop - executes he body of the loop before test condition&lt;br /&gt;
#**Syntax :&amp;lt;br&amp;gt; do &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; code to be executed &amp;lt;br&amp;gt; } &amp;lt;br&amp;gt; while(test condition);&lt;br /&gt;
#* foreach loop - enables us to iterate the elements in array&lt;br /&gt;
#**Syntax : foreach(type variable in expression) \*in is a keyword*\ &amp;lt;br&amp;gt; { &amp;lt;br&amp;gt; code to be executed &amp;lt;br&amp;gt;}&lt;br /&gt;
#* Jumps in loops - skipping a part of a loop&amp;lt;br&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
#'''Methods in C#''' &lt;br /&gt;
#* Declaring, Invoking and Nesting of Methods&lt;br /&gt;
#* Pass by Value &amp;amp; Pass by Reference&lt;br /&gt;
#* Method Overloading&amp;lt;br&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
#'''Handling Arrays''' &lt;br /&gt;
#* Creating, Declaring, Initializing Arrays&lt;br /&gt;
#* One Dimensional Arrays &amp;amp; Two Dimensional Arrays&lt;br /&gt;
#* ArrayList Class&amp;lt;br&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
#'''Manipulating Strings''' &lt;br /&gt;
#* Creating, Inserting &amp;amp; Comparing Strings&lt;br /&gt;
#* Arrays of Strings&lt;/div&gt;</summary>
		<author><name>Minal</name></author>	</entry>

	</feed>