Mohammad Hamdy Ghanem

Results 245 comments of Mohammad Hamdy Ghanem

I changed the + to set the sent flag, and - to clear it. Thee flag can be Flag object or a number. I also dropped the rest of the...

It works for arrays (was my first test), because Array implements the IList. > Is there a way to Inherit from IList so you don't have to create the list...

In fact, I hope that VB can infere the generic type param if there is no non-generic version of the class, so we can just write: ```VB.NET Dim r As...

In #556, I asked for allowing `[]` for arrays and indexer. After writing the Ranger, I am thinking that `[ ]` can differ from `( )` in that it always...

I don't know do you mean. This is a simple user controls with a combo box and add button, and I just want to expose some properties to control the...

No need for return: ```VB.NET Dim _someValue As SomeType Public Property SomeValue As SomeType Get _someValue Set _someValue = value End Property ```

And in ultra compact form (as there is no operations on the body: ```VB.NET Dim _someValue As SomeType Public Property SomeValue As SomeType On _someValue ```

@JustNrik This is why I gave a use case, where we need to expand the property to control the back field. Auto properties are not always an available solution.

> seems so rare that it's not worth wasting special syntax on I disagree. I face this a lot, and I fall in an error due to differences between C#...

I am also thinking of dropping the `[]` where `#` exists, so: `dim stdunetsNames= Students[#Name]` can just be: `Dim stdunetsNames= Students#Name` where # means: Select the name property of each...