Skip to content

Coding and Beyond

A software developer's blog.

  • Home
  • Article Series
    • Architectural Design Patterns
    • Advanced C# Tips
    • C – Bedrock of Software
  • About
  • Contact

Tag .NET Core

  • Home
  • Advanced C# Tips: Avoid Excessive Inlining of Methods
03/09/2024

Advanced C# Tips: Avoid Excessive Inlining of Methods

By Suleyman Cabir Ataman in C#, Software Engineering, Programming Languages, Advanced Tag C#, .NET, .NET Core, Advanced C# Tips

Inlining methods is a technique where the compiler replaces a method call with the actual method body's code. While inlining can speed up your program by eliminating the overhead of…

Read More

27/08/2024

Advanced C# Tips: Using Array Segments Instead of Copying Arrays

By Suleyman Cabir Ataman in Intermediate, Advanced, C#, Software Engineering Tag dotnet, Advanced C# Tips, C#, .NET, .NET Core

Even though it is not a very popular C# tool, the ArraySegment<T> is quite old and it was introduced in .NET Framework 2.0, which was released in 2005. It is…

Read More

13/08/2024

Advanced C# Tips: Reuse Objects Where Possible

By Suleyman Cabir Ataman in Intermediate, Advanced, Coding, C#, Software Engineering Tag .NET Core, dotnet, Advanced C# Tips, C#, .NET

Reusing objects in C# is a strategy that aligns with the principles of efficient memory management and application performance optimization. This concept is important in environments where memory resources are…

Read More

30/07/2024

Advanced C# Tips: Utilize ArrayPool for Frequent Array Allocations

By Suleyman Cabir Ataman in Advanced, Coding, C#, Software Engineering Tag dotnet, Advanced C# Tips, C#, .NET, .NET Core

ArrayPool<T> in C# is a very useful but a less known feature. It has been around since .NET 2.0 but has never been popular. In order to understand ArrayPool, we…

Read More

23/07/2024

Advanced C# Tips: Consider Leveraging Bitwise Operations for Simple Calculations If Possible

By Suleyman Cabir Ataman in Software Engineering, Advanced, Coding, C# Tag .NET, .NET Core, dotnet, Advanced C# Tips, C#

Bitwise operators in C# are special tools that let you work directly with the individual bits of a number's binary representation. If you are reading this blog post, I assume…

Read More

16/07/2024

Advanced C# Tips: Use Exceptions Wisely

By Suleyman Cabir Ataman in C#, Software Engineering, Advanced, Coding Tag C#, .NET, .NET Core, dotnet, Advanced C# Tips

Exceptions in C# are definitely a great facility but we need to use them wisely. We should leave the least possible probabilities of throwing an exception since exceptions come with…

Read More

09/07/2024

Advanced C# Tips: Prefer Value Types Over Reference Types

By Suleyman Cabir Ataman in Software Engineering, Advanced, C# Tag .NET, .NET Core, dotnet, Advanced C# Tips, C#

In C#, understanding the difference between value types and reference types is a fundamental topic when writing efficient and performant code. The choice between using a value type (like a…

Read More

27/06/2024

Advanced C# Tips: Prefer Structs for Immutable Data

By Suleyman Cabir Ataman in Advanced, Coding, C#, Software Engineering Tag .NET Core, dotnet, Advanced C# Tips, C#, .NET

Before diving into topic, I want to begin with clarifying the terminology. Immutable data refers to data whose state cannot be modified after it has been created. Once an immutable…

Read More

20/06/2024

Advanced C# Tips: Use ‘in’ Parameter Modifier for Large Value Types

By Suleyman Cabir Ataman in Advanced, Coding, C#, Software Engineering Tag .NET, .NET Core, dotnet, Advanced C# Tips, C#

In C#, the in parameter modifier is relatively a recent addition. It added in C# 7.2. The main point of in keyword is to pass a large value type to…

Read More

Posts pagination

1 2 3

Article Series

Architectural Design Patterns

Advanced C# Tips

C - Bedrock of Software

Categories

  • Level
    • Beginner
    • Intermediate
    • Advanced
  • Programming Languages
    • C/C++
    • C#
    • Go
    • Java
    • Python
    • TypeScript
  • Databases
    • NoSQL
  • Cloud Computing
    • Amazon Web Services
    • Azure
    • Containerization
  • Web Development
    • Angular
    • React
    • Node.js
  • Software Engineering
  • Testing

Search

Proudly powered by WordPress | Theme: SpicePress by SpiceThemes