Al Programming

Free source code programming in C#, VB.Net, Java, SQL

Tuesday, April 5, 2016

Validate Data Models Using DataAnnotations Attributes C#

›
C#  >  System  >  ComponentModel  >  DataAnnotations Provides attribute classes that are used to define metadata. Example ...
Wednesday, March 23, 2016

Rename files from a folder C#

›
C#  >  Files  >  File Class  > Move Moves a specified file to a new location. option to specify a new file name Exa...
Friday, March 11, 2016

Mock Assembly Unit Test C#

›
C#  > Unit tests >  Mock Assembly   If you try to mock var  mock =  new   Mock < Assembly >(); You will get this error:...
Tuesday, March 8, 2016

yield C# Example with KeyValuePair

›
C# > Keywords > yield Yield   returns each element one at a time. When to use: when calculate the next item in the list   f...
Thursday, March 3, 2016

Concatenate list of strings c#

›
C# >  Enumerable > Aggregate Aggregate p erforms a calculation over a sequence of values. Example List < string > item...
Friday, February 26, 2016

XmlNamespaceManager class c#

›
C#  >  XML  > XmlNamespaceManager XML namespaces associate element and attribute names in an XML document with custom and predefine...
Tuesday, February 23, 2016

Convert ushort to byte array and to ASCII code C# using BitConverter

›
C#   >  System  > BitConverter Converts  base data types to an array of bytes, array of bytes to base data types. Example ...
‹
›
Home
View web version
Powered by Blogger.