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...
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.