<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: firdavs090</title>
    <description>The latest articles on Forem by firdavs090 (@firdavs090).</description>
    <link>https://forem.com/firdavs090</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1225800%2F2c26241b-abff-4a4d-8e1a-279128a50093.png</url>
      <title>Forem: firdavs090</title>
      <link>https://forem.com/firdavs090</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/firdavs090"/>
    <language>en</language>
    <item>
      <title>C# {DateTime}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Wed, 31 Jul 2024 11:13:03 +0000</pubDate>
      <link>https://forem.com/firdavs090/c-datetime-1689</link>
      <guid>https://forem.com/firdavs090/c-datetime-1689</guid>
      <description>&lt;p&gt;Current Date and Time:&lt;/p&gt;

&lt;p&gt;Now: Gets the current date and time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime now = DateTime.Now;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;UtcNow: Gets the current date and time in Coordinated Universal Time (UTC).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime utcNow = DateTime.UtcNow;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Specific Date and Time:&lt;/p&gt;

&lt;p&gt;Constructor: Creates a specific date and time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime specificDate = new DateTime(2024, 7, 31, 14, 30, 0);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Today: Gets the current date with the time component set to 00:00:00.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime today = DateTime.Today;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Parsing:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Parse: Converts the string representation of a date and time to its 'DateTime' equivalent.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime parsedDate = DateTime.Parse("2024-07-31");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;TryParse: Tries to convert the string representation of a date and time to its 'DateTime' equivalent and returns a boolean indicating success or failure.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime result;
bool success = DateTime.TryParse("2024-07-31", out result);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DateTime Properties:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Year, Month, Day: Gets the year, month, and day components of the date.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int year = now.Year;
int month = now.Month;
int day = now.Day;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Hour, Minute, Second: Gets the hour, minute, and second components of the time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int hour = now.Hour;
int minute = now.Minute;
int second = now.Second;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DayOfWeek: Gets the day of the week.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DayOfWeek dayOfWeek = now.DayOfWeek;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DayOfYear: Gets the day of the year.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int dayOfYear = now.DayOfYear;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DateTime Methods:&lt;br&gt;
Adding and Subtracting:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AddDays, AddMonths, AddYears: Adds the specified number of days, months, or years to the date.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime nextWeek = now.AddDays(7);
DateTime nextMonth = now.AddMonths(1);
DateTime nextYear = now.AddYears(1);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;AddHours, AddMinutes, AddSeconds: Adds the specified number of hours, minutes, or seconds to the time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DateTime inTwoHours = now.AddHours(2);
DateTime inThirtyMinutes = now.AddMinutes(30);
DateTime inTenSeconds = now.AddSeconds(10);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Subtract:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Subtract: Subtracts a specified time interval from the date.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;TimeSpan duration = new TimeSpan(1, 0, 0, 0); // 1 day
DateTime yesterday = now.Subtract(duration);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Comparison:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CompareTo: Compares two DateTime instances.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int comparison = now.CompareTo(specificDate);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Equals: Checks if two DateTime instances are equal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool isEqual = now.Equals(specificDate);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before, After: Checks if one date is before or after another date.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool isBefore = specificDate &amp;lt; now;
bool isAfter = specificDate &amp;gt; now;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Formatting DateTime:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ToString: Converts the DateTime to its string representation.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string dateString = now.ToString();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;ToString with format: Converts the DateTime to its string representation with a specified format.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string formattedDate = now.ToString("yyyy-MM-dd HH:mm:ss");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>dotnet</category>
      <category>dotnetcore</category>
      <category>dotnetframework</category>
      <category>datetime</category>
    </item>
    <item>
      <title>C# {String Methods}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Wed, 31 Jul 2024 10:49:16 +0000</pubDate>
      <link>https://forem.com/firdavs090/c-string-methods-1h32</link>
      <guid>https://forem.com/firdavs090/c-string-methods-1h32</guid>
      <description>&lt;p&gt;Length:&lt;/p&gt;

&lt;p&gt;1)Length: Gets the number of characters in the string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string str = "Hello, World!";
int length = str.Length; // 13
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Accessing Characters:&lt;/p&gt;

&lt;p&gt;1)indexer: Gets the character at a specified index.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;char ch = str[0]; // 'H';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Comparison:&lt;/p&gt;

&lt;p&gt;1)Equals: Compares two strings for equality.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool isEqual = str.Equals("Hello, World!"); // true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CompareTo:&lt;br&gt;
 1)Compares two strings lexicographically.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int comparison = str.CompareTo("Hello"); // &amp;gt; 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Compare:&lt;br&gt;
 1)Compares two strings with optional culture, case, and sort rules.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int comparison = string.Compare(str, "Hello"); // &amp;gt; 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Searching:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Contains: Determines whether a substring occurs within the string.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool contains = str.Contains("World"); // true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;StartsWith: Determines whether the string starts with a specified substring.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool startsWith = str.StartsWith("Hello"); // true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;EndsWith: Determines whether the string ends with a specified substring.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool endsWith = str.EndsWith("World!"); // true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;IndexOf: Returns the index of the first occurrence of a specified substring.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int index = str.IndexOf("World"); // 7
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;LastIndexOf: Returns the index of the last occurrence of a specified substring.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int lastIndex = str.LastIndexOf("o"); // 8
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Modification:&lt;/p&gt;

&lt;p&gt;Substring: Extracts a substring from the string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string sub = str.Substring(7, 5); // "World"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace: Replaces all occurrences of a specified substring with another substring.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string replaced = str.Replace("World", "C#"); // "Hello, C#!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Remove: Removes a specified number of characters from the string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string removed = str.Remove(5, 7); // "Hello!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Insert: Inserts a specified substring at a specified index.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string inserted = str.Insert(7, "beautiful "); // "Hello, beautiful World!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Case Conversion:&lt;/p&gt;

&lt;p&gt;ToUpper: Converts the string to uppercase.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string upper = str.ToUpper(); // "HELLO, WORLD!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;ToLower: Converts the string to lowercase.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string lower = str.ToLower(); // "hello, world!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Trimming:&lt;/p&gt;

&lt;p&gt;Trim: Removes all leading and trailing white-space characters from the string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string trimmed = str.Trim();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;TrimStart: Removes all leading white-space characters from the string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string trimmedStart = str.TrimStart();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;TrimEnd: Removes all trailing white-space characters from the string.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string trimmedEnd = str.TrimEnd();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Splitting and Joining:&lt;/p&gt;

&lt;p&gt;Split: Splits the string into an array of substrings based on a specified delimiter.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string[] words = str.Split(' '); // {"Hello,", "World!"}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Join: Concatenates an array of strings into a single string, with an optional separator.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string joined = string.Join(" ", words); // "Hello, World!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Format:&lt;/p&gt;

&lt;p&gt;Format: Replaces the format items in a string with the string representation of specified objects.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string formatted = string.Format("Welcome, {0}!", "John"); // "Welcome, John!"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>dotnet</category>
      <category>dotnetcore</category>
      <category>methods</category>
      <category>string</category>
    </item>
    <item>
      <title>C# {Data Types except Int}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Wed, 31 Jul 2024 10:16:21 +0000</pubDate>
      <link>https://forem.com/firdavs090/c-data-types-except-int-25k</link>
      <guid>https://forem.com/firdavs090/c-data-types-except-int-25k</guid>
      <description>&lt;p&gt;Floating-Point Types: &lt;/p&gt;

&lt;p&gt;1)float: 32-bit single-precision floating point type&lt;br&gt;
 2)double: 64-bit double-precision floating point type&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;float myFloat = 20.5f;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Decimal Type:&lt;/p&gt;

&lt;p&gt;1)decimal: 128-bit precise decimal values with 28-29 significant digits, suitable for financial and monetary calculations&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;decimal myDecimal = 100.5m;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Other Value Types:&lt;/p&gt;

&lt;p&gt;1)char: 16-bit Unicode character&lt;br&gt;
 2)bool: Represents Boolean values, true or false&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bool myBool = true;
char myChar = 'A';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Reference Types:&lt;br&gt;
String Type:&lt;/p&gt;

&lt;p&gt;1)string: Represents a sequence of Unicode characters&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;string myString = "Hello, World!";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Object Type:&lt;/p&gt;

&lt;p&gt;1)object: The base type from which all other types derive&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;object myObject = myString;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dynamic Type&lt;/p&gt;

&lt;p&gt;1)dynamic: Type resolved at runtime, providing flexibility at the cost of some performance and type safety&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dynamic myDynamic = 10; // dynamic type can change

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Nullable Types&lt;/p&gt;

&lt;p&gt;1)Nullable: Allows value types to be assigned null (e.g., int?, double?)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int? myNullableInt = null;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Arrays:&lt;/p&gt;

&lt;p&gt;1)Array: Represents a fixed-size sequence of elements of the same type&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int[] myArray = {1, 2, 3, 4, 5};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Enum Type:&lt;/p&gt;

&lt;p&gt;1)enum: Represents a set of named constants&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;enum Day { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday }
Day today = Day.Monday;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Struct Type:&lt;/p&gt;

&lt;p&gt;1)struct: A value type that can encapsulate data and related functionality&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;struct Point 
{
    public int X;
    public int Y;
}
Point p = new Point();
p.X = 10;
p.Y = 20;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Class Type:&lt;/p&gt;

&lt;p&gt;1)class: A reference type that can encapsulate data and related functionality&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class MyClass {
    public int Number;
    public void Display() {
        Console.WriteLine(Number);
    }
}
MyClass obj = new MyClass();
obj.Number = 5;
obj.Display();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Interface Type:&lt;/p&gt;

&lt;p&gt;1)interface: Defines a contract that can be implemented by classes and structs&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class MyClassWithInterface : IMyInterface 
{
    public void MyMethod() 
{
        Console.WriteLine("Interface Method");
    }
}
IMyInterface myInterface = new MyClassWithInterface();
myInterface.MyMethod();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Delegate Type:&lt;/p&gt;

&lt;p&gt;1)delegate: Represents a reference to a method&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;delegate void MyDelegate(string message);
MyDelegate del = (msg) =&amp;gt; Console.WriteLine(msg);
del("Hello, Delegate!");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>dotnet</category>
      <category>dotnetcore</category>
      <category>dotnetframework</category>
      <category>datatypes</category>
    </item>
    <item>
      <title>C# {Integral Types}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Wed, 31 Jul 2024 09:58:15 +0000</pubDate>
      <link>https://forem.com/firdavs090/c-integral-types-3eli</link>
      <guid>https://forem.com/firdavs090/c-integral-types-3eli</guid>
      <description>&lt;p&gt;Integral Types:&lt;/p&gt;

&lt;p&gt;1)byte: 8-bit unsigned integer (0 to 255)&lt;br&gt;
 2)sbyte: 8-bit signed integer (-128 to 127)&lt;br&gt;
 3)short: 16-bit signed integer (-32,768 to 32,767)&lt;br&gt;
 4)ushort: 16-bit unsigned integer (0 to 65,535)&lt;br&gt;
 5)int: 32-bit signed integer (-2,147,483,648 to 2,147,483,647)&lt;br&gt;
 6)uint: 32-bit unsigned integer (0 to 4,294,967,295)&lt;br&gt;
 7)long: 64-bit signed integer (-9,223,372,036,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;using System;

class Program
{
    static void Main()
    {
        // byte: 8-bit unsigned integer (0 to 255)
        byte myByte = 255;
        Console.WriteLine("byte: " + myByte);

        // sbyte: 8-bit signed integer (-128 to 127)
        sbyte mySByte = -128;
        Console.WriteLine("sbyte: " + mySByte);

        // short: 16-bit signed integer (-32,768 to 32,767)
        short myShort = -32768;
        Console.WriteLine("short: " + myShort);

        // ushort: 16-bit unsigned integer (0 to 65,535)
        ushort myUShort = 65535;
        Console.WriteLine("ushort: " + myUShort);

        // int: 32-bit signed integer (-2,147,483,648 to 2,147,483,647)
        int myInt = -2147483648;
        Console.WriteLine("int: " + myInt);

        // uint: 32-bit unsigned integer (0 to 4,294,967,295)
        uint myUInt = 4294967295;
        Console.WriteLine("uint: " + myUInt);

        // long: 64-bit signed integer (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)
        long myLong = -9223372036854775808;
        Console.WriteLine("long: " + myLong);

        // ulong: 64-bit unsigned integer (0 to 18,446,744,073,709,551,615)
        ulong myULong = 18446744073709551615;
        Console.WriteLine("ulong: " + myULong);
    }

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>dotnet</category>
      <category>dotnetcore</category>
      <category>dotnetframework</category>
      <category>integer</category>
    </item>
    <item>
      <title>{IL} --&gt; {Intermediate Language}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Tue, 02 Jul 2024 11:49:42 +0000</pubDate>
      <link>https://forem.com/firdavs090/il-intermediate-language-4bj</link>
      <guid>https://forem.com/firdavs090/il-intermediate-language-4bj</guid>
      <description>&lt;p&gt;IL (Intermediate Language) .NET’dagi oraliq til boʻlib, MSIL (Microsoft Intermediate Language) yoki CIL (Common Intermediate Language) nomi bilan ham tanilgan. C# yoki VB.NET kabi tillardagi manba kodi to'g'ridan-to'g'ri mashina kodiga emas, balki birinchi navbatda ILga kompilyatsiya qilinadi va bu uni platformadan mustaqil qiladi.&lt;/p&gt;

&lt;p&gt;Arxitektura mustaqilligi: IL kodi CLR (Common Language Runtime) ning tegishli versiyasi o'rnatilgan har qanday platformada ishlashi mumkin. Bu ishlab chiquvchilarga kodni bir marta yozish va uni turli xil operatsion tizimlar va protsessor arxitekturalarida ishga tushirish imkonini beradi.&lt;/p&gt;

&lt;p&gt;JIT kompilyatsiyasi: Dastur ishga tushirilganda, IL JIT kompilyatori (Just-In-Time kompilyatori) yordamida mashina kodiga aylantiriladi. Ushbu jarayon maqsadli platformada optimal ishlashni ta'minlash uchun ish vaqtida sodir bo'ladi.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8em60bitdutx73yffj3h.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8em60bitdutx73yffj3h.jpg" alt="Image description" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Turning xavfsizligi va modulliligi: IL CLR tomonidan turdagi xavfsizligini tekshirish va kod yaxlitligini ta'minlash uchun ishlatiladigan metama'lumotlarni o'z ichiga oladi. Modullashtirishni qo'llab-quvvatlash ilovani ish vaqtida birga yig'iladigan alohida komponentlarga bo'lish imkonini beradi.&lt;/p&gt;

&lt;p&gt;Tilning mosligi: Barcha .NET tillari IL-ga kompilyatsiya qilinganligi sababli ular bir-biri bilan osongina o'zaro ishlashi mumkin. Bu shuni anglatadiki, siz bir xil dasturning turli qismlarini moslik muammosisiz ishlab chiqish uchun turli dasturlash tillaridan foydalanishingiz mumkin.&lt;/p&gt;

&lt;p&gt;IL kodning koʻchishi va xavfsizligini taʼminlaydi, turli .NET tillari oʻrtasida oʻzaro ishlashni soddalashtiradi va ishlab chiquvchilarga koʻp qirrali va xavfsiz ilovalar yozish imkonini beradi.&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>il</category>
      <category>intermediatelanguage</category>
      <category>dotnetcore</category>
    </item>
    <item>
      <title>{CLR}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Tue, 02 Jul 2024 11:23:47 +0000</pubDate>
      <link>https://forem.com/firdavs090/clr-n2a</link>
      <guid>https://forem.com/firdavs090/clr-n2a</guid>
      <description>&lt;p&gt;Asosiy xususiyatlar: CLR .NET platformasida yozilgan boshqariladigan ilovalar uchun ish vaqti muhitini taqdim etadi. U kodning bajarilishini boshqaradi, kod xavfsizligini, xotirani boshqarishni va dastur bajarilishining boshqa jihatlarini ta'minlaydi.&lt;/p&gt;

&lt;p&gt;Xotirani boshqarish: CLR avtomatik xotira boshqaruvidan foydalanadi, bu esa ishlab chiquvchilarning xotirani aniq ajratish va ajratish zaruratini yo'q qiladi.&lt;/p&gt;

&lt;p&gt;Mavzuni boshqarish: CLR bajarilish iplarini boshqarish, shu jumladan umumiy ma'lumotlarga kirishni sinxronlashtirish uchun imkoniyatlarni taqdim etadi.&lt;/p&gt;

&lt;p&gt;Tur xavfsizligi: CLR ma'lumotlar turlaridan noto'g'ri foydalanish bilan bog'liq ko'plab ish vaqtidagi xatolarning oldini olishga yordam beradigan tip xavfsizligini ta'minlaydi.&lt;/p&gt;

&lt;p&gt;Bir nechta tilni qo'llab-quvvatlash: CLR O'rta til (IL) ga kompilyatsiya qilingan bir nechta dasturlash tillarini qo'llab-quvvatlaydi, bu ishlab chiquvchilarga bir xil dastur yoki loyiha doirasida bir nechta tillardan foydalanishga imkon beradi.&lt;/p&gt;

&lt;p&gt;.NET Framework bilan integratsiya: CLR .NET Frameworkning asosiy qismi boʻlib, .NET tarkibiga kiritilgan turli tillarda yozilgan komponentlarning oʻzaro ishlashini taʼminlaydi.&lt;/p&gt;

&lt;p&gt;CLR apparat va operatsion tizimdan yuqori darajadagi abstraktsiyani ta'minlash orqali .NET ilovalarini ishlab chiqishni sezilarli darajada soddalashtiradi, bu esa ishlab chiquvchilarga resurs va platformalarni boshqarish tafsilotlariga emas, balki dastur mantig'iga e'tibor qaratishga imkon beradi.&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>clr</category>
      <category>dotnetframework</category>
      <category>dotnetcore</category>
    </item>
    <item>
      <title>{SDK vs Runtime}</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Tue, 02 Jul 2024 08:30:26 +0000</pubDate>
      <link>https://forem.com/firdavs090/sdk-vs-runtime-28b</link>
      <guid>https://forem.com/firdavs090/sdk-vs-runtime-28b</guid>
      <description>&lt;p&gt;SDK (Dasturiy ta'minotni ishlab chiqish to'plami):&lt;/p&gt;

&lt;p&gt;SDK - bu .NET platformasida ilovalarni ishlab chiqish uchun mo'ljallangan asboblar va kutubxonalar to'plami. Bunga quyidagilar kiradi:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Kompilyatorlar: C#, F# yoki VB.NET dasturlash tillarida manba kodini bajariladigan kodga aylantirish uchun.
Kutubxonalar va dasturchilar asboblari: Har xil turdagi ilovalarni (masalan, veb-ilovalar, ish stoli ilovalari) ishlab chiqish uchun zarur bo'lgan sinf kutubxonalari to'plami (masalan, asosiy sinf kutubxonasi - BCL).
Hujjatlar va kod misollari: Ishlab chiquvchilarga ilovalarni yaratish, sinab ko'rish va disk raskadrovka qilishda yordam beradigan manbalar.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj5qgc68bcpme42sxip9v.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj5qgc68bcpme42sxip9v.jpg" alt="Image description" width="800" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Runtime (CLR - Common Language Runtime)&lt;/p&gt;

&lt;p&gt;CLR (Common Language Runtime) .NET dasturlarini ishga tushiradigan ish vaqti muhitidir. U quyidagilarni ta'minlaydi:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Xotirani boshqarish va axlat yig'ish: Avtomatik xotirani boshqarish, foydalanilmagan resurslarni bo'shatish va axlat yig'ish.
Istisnolarni boshqarish: istisnolarni boshqarish va dasturni bajarish paytida xatolarni qayta ishlash.
Ko'p ish zarralarini qo'llab-quvvatlash: bir nechta dastur iplari bilan ishlash mexanizmlari.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;SDK va Runtime o'rtasidagi o'zaro ta'sir:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SDK dasturchi tomonidan ilovalarni yozish va yaratish uchun ishlatiladi. U ilovalar yaratish uchun zarur bo'lgan vositalar va kutubxonalarni taqdim etadi.
Ish vaqti dasturni bajarish jarayonida uni bajarish uchun ishlatiladi. U kerakli ijro muhitini ta'minlaydi va ilovaning bajarilishi jarayonini boshqaradi.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Shunday qilib, SDK va Runtime .NET ilovalarini ishlab chiqish va ishga tushirish uchun birgalikda ishlaydi, ishlab chiquvchilarni .NET platformasida dasturiy ta'minotni yaratish va muvaffaqiyatli ishga tushirish uchun barcha zarur vositalar va muhit bilan ta'minlaydi.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Dotnet's versions.</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Tue, 02 Jul 2024 07:42:17 +0000</pubDate>
      <link>https://forem.com/firdavs090/dotnets-versions-e89</link>
      <guid>https://forem.com/firdavs090/dotnets-versions-e89</guid>
      <description>&lt;p&gt;.NET Framework:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1.0: ASP.NET, ADO.NET va Windows Forms bilan birinchi versiya.
1.1: Mobil rivojlanishni qo'llab-quvvatlash, xavfsizlikni yaxshilash.
2.0: Jeneriklarni joriy etish, yangi boshqaruv elementlari, 64-bitli tizimlarni qo'llab-quvvatlash.
3.0: WPF (Windows Presentation Foundation), WCF (Windows Communication Foundation), WF (Windows Workflow Foundation), CardSpace.
3.5: LINQ, ASP.NET AJAX ga kirish.
4.0: Parallel dasturlashni takomillashtirish, Boshqariladigan Kengaytirish Framework (MEF).
4.5: Asinxron va kutish bilan asinxron dasturlash.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;.NET Core:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1.0: Birinchi kross-platforma versiyasi, Windows, macOS va Linuxni qo'llab-quvvatlaydi.
2.0: Yaxshilangan ishlash, ko'proq API.
2.1 va 2.2: Qo'shimcha ish faoliyatini yaxshilash va yangi API'lar.
3.0 va 3.1: Windows Forms va WPF-ni qo'llab-quvvatlash, ish stoli ilovalari uchun yaxshilanishlar.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsg8lequ8ls141v2em02a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsg8lequ8ls141v2em02a.jpg" alt="Image description" width="800" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;.NET birlashtirish:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.NET 5.0: .NET Framework va .NET Core-ni yaxshilangan ishlash va xavfsizlik bilan yagona platformaga birlashtirish.
.NET 6.0: Uzoq muddatli qo'llab-quvvatlash (LTS), yangi xususiyatlar va ish faoliyatini yaxshilash.
.NET 7.0: Ishlash va unumdorlikni yanada yaxshilash.
.NET 8.0: Keyingi yaxshilanishlar va yangiliklar e'lon qilindi.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Asosiy komponentlar:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CLR (Common Language Runtime): .NET dasturlarini ishga tushiradi.
BCL (Base Class Library): Turli vazifalar uchun umumiy kodlar kutubxonasi.
ASP.NET: Veb-ilovalarni yaratish uchun asos.
ADO.NET: Ma'lumotlarga kirish uchun sinflar.
Windows shakllari va WPF: ish stoli ilovalari uchun kutubxonalar.
Xamarin: Mobil ilovalar uchun ramka.
Blazor: C# yordamida veb-interfeyslarni yaratish uchun ramka.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>dotnet</category>
      <category>dotnetcore</category>
      <category>dotnetframework</category>
      <category>documentation</category>
    </item>
    <item>
      <title>Dotnet's hisotry.</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Tue, 02 Jul 2024 07:13:42 +0000</pubDate>
      <link>https://forem.com/firdavs090/dotnets-hisotry-37b1</link>
      <guid>https://forem.com/firdavs090/dotnets-hisotry-37b1</guid>
      <description>&lt;p&gt;.NET (toʻliq nomi Microsoft .NET Framework) — Microsoft tomonidan turli turdagi ilovalarni yaratish va joylashtirishni soddalashtirish uchun ishlab chiqilgan platforma. U 2000-yillarning boshida turli texnologiyalar va vositalarni yagona ishlab chiqish platformasida birlashtirgan Windows xizmatlarining keyingi avlodi sifatida taqdim etilgan.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F38pvuvl58y734kc5znio.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F38pvuvl58y734kc5znio.jpg" alt="Image description" width="300" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;.NET ning chiqarilishi bilan veb-ishlab chiqish uchun ASP.NET va ish stoli ilovalarini yaratish uchun Windows Forms kabi asosiy komponentlar taqdim etildi. Platforma doimiy ravishda rivojlanib bordi, yangi xususiyatlar qo'shdi va ish faoliyatini yaxshilaydi.&lt;/p&gt;

&lt;p&gt;So'ngi yillarda Microsoft ochiq manbali .NET va .NET Core-ni taqdim etdi, bu esa ishlab chiquvchilarga nafaqat Windows, balki macOS va Linuxda ham ishlaydigan ilovalar yaratish imkonini berdi. Bu harakat .NET ni yanada qulayroq va moslashuvchan platformaga aylantirdi.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhks85zor8qy1c0wlhlui.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhks85zor8qy1c0wlhlui.jpg" alt="Image description" width="736" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;.NET Framework va .NET Core-ni yagona platformaga birlashtirib, .NET ishlab chiquvchilar uchun yaxshilangan ishlash, xavfsizlik va mahsuldorlikni ta'minlaydi. Zamonaviy .NET platformasi zamonaviy ilovalarni yaratish uchun keng ko'lamli texnologiyalar va arxitekturalarni qo'llab-quvvatlaydi.&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>learning</category>
    </item>
    <item>
      <title>While Loop c++</title>
      <dc:creator>firdavs090</dc:creator>
      <pubDate>Wed, 06 Mar 2024 10:08:45 +0000</pubDate>
      <link>https://forem.com/firdavs090/while-loop-c-p5f</link>
      <guid>https://forem.com/firdavs090/while-loop-c-p5f</guid>
      <description>&lt;p&gt;Цикл 'while' в C++ является предварительным тестовым циклом, что означает, что он проверяет условие перед выполнением блока кода внутри него. Вот базовый синтаксис цикла 'whlie':&lt;br&gt;
&lt;code&gt;while (условие) &lt;br&gt;
{&lt;br&gt;
    // Блок кода, который будет выполняться повторно&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
Цикл начинается с ключевого слова while, за которым следует условие в круглых скобках. Если условие оценивается как истинное, выполняется блок кода внутри цикла. После каждой итерации условие оценивается снова. Цикл продолжается, пока условие не станет ложным.&lt;br&gt;
Простой пример:&lt;br&gt;
`int son,i = 1;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cin &amp;gt;&amp;gt; son;

while(i &amp;lt;= son)
{
cout &amp;lt;&amp;lt; "Hello world" &amp;lt;&amp;lt; endl;
i++;
}`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
