Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

indexed-properties

Easy creation of properties that support indexing in C#

September 22, 2023 by Tarik

EDIT FOR 2022: This continues to get votes, but it probably isn’t something I would use today primarily because it does push garbage collection in a way that would not be ideal at scale, if the property was being hit a lot. I remember this being a complicated topic, and I do not want to … Read more

Categories c# Tags c++, indexed-properties, properties Leave a comment

Why C# doesn’t implement indexed properties?

January 31, 2023 by Tarik

Here’s how we designed C# 4. First we made a list of every possible feature we could think of adding to the language. Then we bucketed the features into “this is bad, we must never do it”, “this is awesome, we have to do it”, and “this is good but let’s not do it this … Read more

Categories c# Tags c++, indexed-properties, language-features Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa