- 👨🏭 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,
-
Moshaveran
- Iran, Tehran
- @_mirmostafa_
- in/mirmostafa
- mirmostafa3
- channel/UC2nfVWM6Mhriv2KZehgeLwA
Pinned Loading
-
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)
-
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:
-
IAsyncDisposable Pattern
IAsyncDisposable Pattern 1public virtual ValueTask DisposeAsync()
2{
3try
4{
5Dispose();
-
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 {
-
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);
-
From SQL Interpolated String
From SQL Interpolated String 1var dbResult = await this._readDbContext.ProductCategories.FromSqlInterpolated($@"
2SELECT TOP 1 *
3FROM [biz].[ProductCategories] t
4WHERE NOT EXISTS (SELECT 1
5FROM [biz].[ProductCategories]
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.