Today i am introducing the DaysInmonth() function to you that is the member of the System.date. With the help of this function you can find the count of the days in the specified month of the specified year.
Continue reading “How to get the number of the days in the specified month”
Tag: C#
Microsoft Visual C# is simple, modern, general-purpose, object-oriented programming language, included in the Microsoft Visual Studio. Visual C# is also mostly used in ASP.NET web sites and Windows applications
Multi dimensional arrays in c#
We know that array is the combination of the values of the similar data types. If we talk about the dimensions in the arrays, in C# programming Arrays can have one or more dimensions. An Array which has one dimension is called by one dimensional array and when array has more than one dimension called by multidimensional array. Continue reading “Multi dimensional arrays in c#”
How to resize windows form at runtime in .net
You can change the size of the windows form at run time in many ways. You can change both the height and the width of the form programmatically by Size property, or you can set the Height or Width properties individually. You can also change the size using the Windows Forms Designer.
Continue reading “How to resize windows form at runtime in .net”
Code snippet for binding ComboBox with arraylist in .net
The following example shows that how can you the bind combobox control from array list. ArrayList is the collection of the items. Right now we create the an ArrayList object of the string types values.
Continue reading “Code snippet for binding ComboBox with arraylist in .net”
Static class in c#
We need an object of the class when we access the member of class. C# add a other concept for creating a class as Static. static class cannot be instantiated, there are two main features of a static class, one is no object of static class can be created and another is, Continue reading “Static class in c#”
Modification in string using Stringbuilder class in VB.net
String can be modified by using stringbuilder class. We can take an example for better understanding, suppose there are two string string11 and string2:
Dim String1 As New StringBuilder("Hello") Dim String2 As New StringBuilder()
Continue reading “Modification in string using Stringbuilder class in VB.net”