Category Archives: Visual Programming using C Sharp

ListBox Add Remove Move Items Visual Programming

ListBox Add Remove Move Items Visual Programming – C Sharp Windows Forms Application with: Buttons to Add item, Remove selected item, View Selected Item, Move selcted item of listbox 1 to list box 2, Move all items of listbox 1 to list box 2 using System; //using System.Collections.Generic; //using System.ComponentModel; //using System.Data; //using System.Drawing; //using… Read More »

Loading

Simple Calculator in Visual Programming C Sharp

Simple Calculator in Visual Programming C Sharp using System; //using System.Collections.Generic; //using System.ComponentModel; //using System.Data; //using System.Drawing; //using System.Linq; //using System.Text; //using System.Threading.Tasks; using System.Windows.Forms; namespace SimpleCalculator { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void textBox1_TextChanged(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) {… Read More »

Loading

Find Maximum Number in Array C Sharp Program

C Sharp Program to find maximum number in array using System; namespace FindMax { class Program { static void Main(string[] args) { int[] a = new int[10]; // Array named ‘a’ to store numbers Console.WriteLine(“Enter 10 numbers:”); for (int i = 0; i < 10; i++) { Console.Write(“Enter a Number : “); a[i] = int.Parse(Console.ReadLine());… Read More »

Loading