Hello
i know that the code below can be used to creat and update a text file but is there a possibility that the path to the file can be saved as a string.
{
string[] lineROLL = { "\nROLL NUMBER\n", rollnumber1.Text }...
i have this school registration software.
the problem is that i want to update the class automatically with reference to age for example
if age is 2 class is begginer
if age is 3 class is montessori
if age is 4 class is 1
if age is 5 class is 2
if age is 6 class is 3
if age is 7 class is 4...
Rep
Okay i googled all night and i was able to come up with this code
private void button1_Click(object sender, EventArgs e)
{
{
DateTime B_Day = dateTimePicker1.Value;
DateTime Today = DateTime.Today;
int Age =...
Im sorry if I sound dumb but no I didnt find anything useful. The only piece of code that I understood and found helpful is posted in the thread. If the answer is in google then ill give it another try. Thanks
Sorry I didnt know how to post in the forum.. ill be careful from now onwards. :)
anyways about the topic can u please help in what sort of code will be used in this project. I do know that we have to store the data that will be written in the textbox and not the actual text box. I don't have...
Hello i want to know if there's any possible way to write all the data that is stored in a c# widows form application to a text file. for example here we have different text boxes and a radio button and other sorts of data. what sort of code would be used if i wanted to save all this data in a...
im a beginner to c#. can any one help how this loop is working.
please and thankyou.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication9
{
class Program
{
static void Main(string[] args)
{...
Hi my question is that i have this piece of code for predicting the ouput
staticvoidMain(string[] args)
{
int a, b, c, x;
a =80;
b =15;
c =2;
x = a - b /(3* c)*( a + c);
Console.WriteLine(x);
Console.ReadLine();
}the possible answers to this program are
a) 78
b) -84
c) 80
d) 98
in c# when we...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.