Skip to content
View mirmostafa's full-sized avatar
🧗‍♂️
Coding is my lifestyle. But I live in Iran 😢
🧗‍♂️
Coding is my lifestyle. But I live in Iran 😢

Block or report mirmostafa

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mirmostafa/README.md

Wellcome ♥

Hi there, I'm Mohammad 🖐

A Son🦸‍♂️, husband🧔, developer👨‍💻, leader👨‍⚖️ and teacher👨‍🏫

  • 👨‍🏭 I'm currently working on System Consultants, Tehran, Iran
  • 👨‍🎓 I'm currently learning and loving Computer Programming, Physics, Quantum, Astronomy, Mathematics, and everything 🤣
  • 👯‍♀️ I'm looking to collaborate with the other development teams
  • 🥅 My goal for 2023: Grow up my team and the company i'm working for
  • bio

Please help us to be free and live in a free world.

Connect with me

Mohammad's github stats

Streak stats

Pinned Loading

  1. `union` Result in C# 15 .NET 11 `union` Result in C# 15 .NET 11
    1
    public interface IResult;
    2
    public interface IResult<TValue> : IResult;
    3
    
                  
    4
    public readonly record struct Success;
    5
    public readonly record struct Error(string? Message = null, IReadOnlyList<Exception>? Exceptions = null)
  2. Pattern Matchings Pattern Matchings
    1
    if (randomShape is Circle { Diameter: 10, Radius: < 5 and > 2, Area: <= 15 } c)
    2
    {
    3
        Console.WriteLine($"This is my circle. Area: {c.Area}");
    4
    }
    5
    if (randomShape is not null)
  3. Constructor & Extension Deconstruct Constructor & Extension Deconstruct
    1
    class Person {
    2
        public Person (string first, string last) => (this.First, this.Last) = (first, last);
    3
    }
    4
    
                  
    5
    public static class Extensions {
  4. From SQL Interpolated String From SQL Interpolated String
    1
                var dbResult = await this._readDbContext.ProductCategories.FromSqlInterpolated($@"
    2
        SELECT TOP 1 *
    3
        FROM [biz].[ProductCategories] t
    4
        WHERE NOT EXISTS (SELECT 1
    5
                           FROM [biz].[ProductCategories]
  5. Git Action to build "main" branch o ... Git Action to build "main" branch o push
    1
    name: Build main branch on push
    2
    on:
    3
      push:
    4
        branches: [ main ]
    5
      pull_request:
  6. Static interface in C# 10.0 Static interface in C# 10.0
    1
    public interface IMath
    2
    {
    3
        static int Add(int x, int y) => x + y;
    4
        abstract static int Sub(int x, int y);
    5
        abstract static int Mul(int x, int y);