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.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only 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. 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)
  2. 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:
  3. IAsyncDisposable Pattern IAsyncDisposable Pattern
    1
            public virtual ValueTask DisposeAsync()
    2
            {
    3
                try
    4
                {
    5
                    Dispose();
  4. 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 {
  5. 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);
  6. 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]