View SplitToBatches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace SplitClass | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) |
View BigNumberAddition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace BigNumberAddition | |
{ | |
class Addition | |
{ | |
static void Main(string[] args) | |
{ | |
int[] firstNumber = new int[50] { | |
1, 2, 3, 4, 5, 6, 7, 8, 9, |
View PrintNumbersWithoutLoop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace PrintValues | |
{ | |
class PrintTest | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Please enter from and to numbers\n"); |
View FTPFileCopy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Net; | |
using System.IO; | |
namespace FtpFileCopy | |
{ | |
public class FtpFileUpload | |
{ |
View SwapIntegers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Swapping | |
{ | |
class Swap | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Swapping Two Integers using different methods.\n"); | |
Console.WriteLine("Using Temporary variable."); |
View DataRowState
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Data; | |
namespace DataTableRowState | |
{ | |
public class BooksList | |
{ | |
public static void Main(string[] args) | |
{ | |
//This is the Datatable which contains book records. |
View XMLGeneration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Xml; | |
using System; | |
namespace SampleXmlTest | |
{ | |
public class XmlClass | |
{ | |
static void Main(string[] args) | |
{ | |
try |
View ExcelToDataTable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Data; | |
using System.Data.OleDb; | |
namespace ExcelToDataTable | |
{ | |
class LoadExcel | |
{ | |
static void Main(string[] args) | |
{ |
View DataTableToCsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
using System.Data; | |
using System.IO; | |
namespace Conversion | |
{ | |
class DataConvert | |
{ | |
static void Main(string[] args) |
View CsvToDataTable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
using System.Data; | |
using System.IO; | |
namespace ReadData | |
{ | |
class DataConvert | |
{ | |
static void Main(string[] args) |
OlderNewer