- 👨🏭 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
🧗♂️
Coding is my lifestyle. But I live in Iran 😢
🏫Lifetime Learner,
💘C# Lover, 👨💻.NET Developer, 😢Iranian,
Pinned Loading
-
`union` Result in C# 15 .NET 11
`union` Result in C# 15 .NET 11 1public interface IResult;
2public interface IResult<TValue> : IResult;
34public readonly record struct Success;
5public readonly record struct Error(string? Message = null, IReadOnlyList<Exception>? Exceptions = null)
-
Pattern Matchings
Pattern Matchings 1if (randomShape is Circle { Diameter: 10, Radius: < 5 and > 2, Area: <= 15 } c)
2{3Console.WriteLine($"This is my circle. Area: {c.Area}");
4}5if (randomShape is not null)
-
Constructor & Extension Deconstruct
Constructor & Extension Deconstruct 1class Person {
2public Person (string first, string last) => (this.First, this.Last) = (first, last);
3}45public static class Extensions {
-
From SQL Interpolated String
From SQL Interpolated String 1var dbResult = await this._readDbContext.ProductCategories.FromSqlInterpolated($@"
2SELECT TOP 1 *3FROM [biz].[ProductCategories] t4WHERE NOT EXISTS (SELECT 15FROM [biz].[ProductCategories] -
Git Action to build "main" branch o ...
Git Action to build "main" branch o push 1name: Build main branch on push
2on:3push:4branches: [ main ]
5pull_request: -
Static interface in C# 10.0
Static interface in C# 10.0 1public interface IMath
2{3static int Add(int x, int y) => x + y;
4abstract static int Sub(int x, int y);
5abstract static int Mul(int x, int y);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


