<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Almendra Estrada on Medium]]></title>
        <description><![CDATA[Stories by Almendra Estrada on Medium]]></description>
        <link>https://medium.com/@estrada.almendra?source=rss-184b34eaa268------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LHQMfgcvglP-52uq</url>
            <title>Stories by Almendra Estrada on Medium</title>
            <link>https://medium.com/@estrada.almendra?source=rss-184b34eaa268------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 07:43:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@estrada.almendra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Intro to C#]]></title>
            <link>https://medium.com/@estrada.almendra/intro-to-c-fb1f9f0af6bf?source=rss-184b34eaa268------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb1f9f0af6bf</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Almendra Estrada]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 03:46:44 GMT</pubDate>
            <atom:updated>2018-10-01T03:46:44.035Z</atom:updated>
            <content:encoded><![CDATA[<p>C# is an object-oriented programming language organized around objects and data. Value and reference types include:</p><blockquote>Value Types</blockquote><blockquote><em>bool: for logical expressions (true, false)</em></blockquote><blockquote><em>char: a single character</em></blockquote><blockquote><em>int: used for computations with integers</em></blockquote><blockquote><em>long: used for computations with long integers</em></blockquote><p><em>Reference Types</em></p><blockquote><em>string,</em></blockquote><blockquote><em>array: initialized by its length</em></blockquote><blockquote><em>int [] intArray = [2];</em></blockquote><blockquote><em>int [] intArray = {0,1};</em></blockquote><blockquote><em>object: can be any type of value:</em></blockquote><blockquote><em>object obj1;</em></blockquote><blockquote><em>obj1 = 10;</em></blockquote><p>With C# we can create console applications, Windows, and mobile applications. For now we start with console.</p><p>Everything is wrapped in classes. Our basic structure:</p><pre>using System;<br><br>namespace HelloWorld<br>{<br>    class Hello<br>    {<br>        static void Main(string[] args)<br>        {<br>                Console.WriteLine(&quot;Hello, world!&quot;);<br>                Console.ReadLine();<br>        }<br>    }<br>}</pre><p>Shows our static Main which is the first method invoked inside class. When comparing two string values we use (==) as seen in this example.</p><pre>using System;<br><br>namespace ArraySearch<br>{<br>    class Search<br>    {<br>        static void Main(string[] args)<br>        {<br>          string[] students = {&quot;Bob&quot;, &quot;Sam &quot;, &quot;Tim&quot;, &quot;Tom&quot;}                           <br>Console.WriteLine(&quot;Enter name to search: &quot; )<br>int[] grades = {77, 65, 84, 90}<br>          string firstName = Console.ReadLine();<br>          int studentgrade = 0; <br>          bool contains = false;<br>          for(int i = 0; i &lt; students.length; i++)<br>           {    <br>             if(firstName == students[i]){<br>             contains = true;<br>             studentgrade = grades[i];<br>             break;<br>            }<br>           }<br>          if(contains == true)<br>{ Console.WriteLine(&quot;In Class&quot;);<br>  Console.WriteLine(&quot;Grade is {0}&quot;, studentgrade)<br> }<br>else{<br>Console.WriteLine(&quot;Not in Class&quot;); <br>     }<br>      Console.ReadLine()<br>    }<br>  }<br>}</pre><p>In namespace we could define multiple related classes for example a Student class that has name and grade declared. Then define each property in Main by using the dot operator. There are more properties of classes that will be discussed in further parts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb1f9f0af6bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>