<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-911531402656025857</id><updated>2024-09-01T17:35:03.440-07:00</updated><title type='text'>About C# Coding</title><subtitle type='html'>C#, C Sharp, Coding, Code Examples, C# For Beginners</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coding-x.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://coding-x.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-911531402656025857.post-5833335852005146421</id><published>2010-09-24T03:08:00.000-07:00</published><updated>2010-09-24T03:08:50.125-07:00</updated><title type='text'>Console.WriteLine(); Command</title><content type='html'>Now we will print our variables to the screen with Console.WriteLine(); command.&lt;br /&gt;
We can start with our previus variables.&lt;br /&gt;
&lt;br /&gt;
Example 1&lt;br /&gt;
Printing out single string variable:&lt;br /&gt;
string name = &quot;Bill&quot;;&lt;br /&gt;
Console.WriteLine(name);&lt;br /&gt;
&lt;br /&gt;
Example 2&lt;br /&gt;
Printing out multiple string variables:&lt;br /&gt;
string name = &quot;Bill&quot;, lastname = &quot;Gates&quot;;&lt;br /&gt;
Console.WriteLine(name+lastname);&lt;br /&gt;
&lt;br /&gt;
In the example 2 the result shown as &quot;BillGates&quot; there is no space between the variables for this we should manualy add a space.&lt;br /&gt;
&lt;br /&gt;
Example 2.1&lt;br /&gt;
Printing out multiple string variables with space between them:&lt;br /&gt;
string name = &quot;Bill&quot;, lastname = &quot;Gates&quot;;&lt;br /&gt;
Console.WriteLine(name+&quot; &quot;+lastname);&lt;br /&gt;
&lt;br /&gt;
In the next post we will study on printing integer variables.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=abocod-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B002Y27P3M&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/5833335852005146421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/5833335852005146421'/><link rel='alternate' type='text/html' href='http://coding-x.blogspot.com/2010/09/consolewriteline-command.html' title='Console.WriteLine(); Command'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-911531402656025857.post-6489323339025566972</id><published>2010-09-22T04:18:00.000-07:00</published><updated>2010-09-22T04:19:56.487-07:00</updated><title type='text'>Variables Part 2</title><content type='html'>In this part of the variables we will study integer type variables. Integer type variables can hold numbers for math process without this type variables we can not make any math process.&lt;br /&gt;
&lt;br /&gt;
Example 1&lt;br /&gt;
Identifying a integer variable:&lt;br /&gt;
int number;&lt;br /&gt;
&lt;br /&gt;
Example 2&lt;br /&gt;
Assing a value to this variable:&lt;br /&gt;
number = 5;&lt;br /&gt;
&lt;br /&gt;
Example 3&lt;br /&gt;
We can assing value to a variable while we creating it:&lt;br /&gt;
int number = 5;&lt;br /&gt;
&lt;br /&gt;
Example 4&lt;br /&gt;
We can create multiple variables and assing values at one time:&lt;br /&gt;
int number = 5, number1 = 6;&lt;br /&gt;
&lt;br /&gt;
In the next post we will study writing our variables to the screen in console aplications.&lt;br /&gt;
&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=abocod-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B002N5N4M6&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/6489323339025566972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/6489323339025566972'/><link rel='alternate' type='text/html' href='http://coding-x.blogspot.com/2010/09/variables-part-2.html' title='Variables Part 2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-911531402656025857.post-5813228683957671423</id><published>2010-09-20T07:56:00.000-07:00</published><updated>2010-09-20T07:56:00.238-07:00</updated><title type='text'>Variables</title><content type='html'>In C# we have various variables, in this post we study &quot;string&quot; type variable. &quot;String&quot; variables can contains all type of symbols. Whlie assing a value to string variable we must use the (&quot;) symbol of the begining and the end of the value.&lt;br /&gt;
&lt;br /&gt;
Example 1&lt;br /&gt;
Identifying a string variable:&lt;br /&gt;
string name;&lt;br /&gt;
&lt;br /&gt;
Example 2&lt;br /&gt;
Assing a value to this variable:&lt;br /&gt;
name = &quot;Bill&quot;;&lt;br /&gt;
&lt;br /&gt;
Example 3&lt;br /&gt;
We can assing value to a variable while we creating it:&lt;br /&gt;
string name = &quot;Bill&quot;;&lt;br /&gt;
&lt;br /&gt;
Example 4&lt;br /&gt;
We can create multiple variables and assing values at one time:&lt;br /&gt;
string name = &quot;Bill&quot;, lastname = &quot;Gates&quot;;&lt;br /&gt;
&lt;br /&gt;
In the next post we will study &quot;integer&quot; type variables.&lt;br /&gt;
&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=abocod-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0021L8V1Q&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/5813228683957671423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/5813228683957671423'/><link rel='alternate' type='text/html' href='http://coding-x.blogspot.com/2010/09/variables.html' title='Variables'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-911531402656025857.post-6368525433031795118</id><published>2010-09-20T06:00:00.000-07:00</published><updated>2010-09-20T08:04:04.267-07:00</updated><title type='text'>Hello World Our First Code (Console)</title><content type='html'>&lt;div style=&quot;text-align: right;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;using System;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;using System.Collections.Generic;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;using System.Linq;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;using System.Text;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;namespace ConsoleApplication1&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;{&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class Program&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;static void Main(string[] args)&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Hello World&quot;);&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;}&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=abocod-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1590599543&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 245px; padding-right: 10px; padding-top: 5px; text-align: left; width: 131px;&quot;&gt;&lt;/iframe&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/6368525433031795118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/911531402656025857/posts/default/6368525433031795118'/><link rel='alternate' type='text/html' href='http://coding-x.blogspot.com/2010/09/hello-world-our-first-code-console.html' title='Hello World Our First Code (Console)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>