Top "Vb.net" questions

Visual Basic.

How do I get a human-readable file size in bytes abbreviation using .NET?

How do I get a human-readable file size in bytes abbreviation using .NET? Example: Take input 7,326,629 and display 6.98 MB

c# .net vb.net
.NET data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary -- Speed, memory, and when to use each?

.NET has a lot of complex data structures. Unfortunately, some of them are quite similar, and I'm not always sure …

c# .net vb.net arrays data-structures
Measuring code execution time

I want to know how much time a procedure/function/order takes to finish, for testing purposes. This is what …

c# .net vb.net datetime timespan
Why there is no ForEach extension method on IEnumerable?

Inspired by another question asking about the missing Zip function: Why is there no ForEach extension method in the Enumerable …

c# .net vb.net extension-methods
What is an .axd file?

What kind of purpose do .axd files serve? I know that it is used in the ASP.Net AJAX Toolkit …

c# asp.net vb.net
VB.NET: how to prevent user input in a ComboBox

How do you prevent user input in a ComboBox so that only one of the items in the defined list …

.net vb.net combobox
How to loop through all the properties of a class?

I have a class. Public Class Foo Private _Name As String Public Property Name() As String Get Return _Name End …

.net vb.net class reflection properties
What is a predicate in c#?

I am very new to using predicates and just learned how to write: Predicate<int> pre = delegate(int …

c# .net vb.net predicate
What is the difference between And and AndAlso in VB.NET?

In VB.NET, what is the difference between And and AndAlso? Which should I use?

vb.net short-circuiting
Convert DateTime to a specified Format

I have this date format yy/MM/dd HH:mm:ss ex: 12/02/21 10:56:09. The problem is, when i try to convert …

c# .net vb.net datetime-format