0xwarning 2 If you have ever wanted to learn c# for multiple purposes. Then here is your answer. [hide] Lets Get Started You Will Need Visual Studio. Make Sure To Have C# Installed. So I'm Currently using a windows form. Have A Layout of what you want but here is mine for an example. Make Sure the listbox is names lstOutput or adapt it in your code to your list box name. Code Integers And Strings. Max Int Value And Max int value int intA = 10; int intB = 20; int intC = 50; int intD = 25; int intRes = intA + intB * intC - intD; string resstr = "Result of "; string maxstr = "C "; // Hint Max Int Value string minstr = "D "; // Hint Opposite The Max string resultstring = resstr + intA.ToString() + " + " + intB.ToString() + " X " + intC.ToString() + " - " + intD.ToString() + " = " + intRes.ToString(); lstOutput.Items.Add(resultstring); lstOutput.Items.Add(maxstr + int.intC); // Hint int.M lstOutput.Items.Add(minstr + int.intD); Basic Thread i will adapt to this in a couple of days. Now try to make the code display Max And Min Int Value I Have Left Some Hints If Successful here is the code you should have int intA = 10; // ADD int intB = 20; // ADD int intC = 50; // Times int intD = 25; // Subtract int intRes = intA + intB * intC - intD; // Result string resstr = "Result of "; // Text Displaying The Result string maxstr = "Max int value "; // Text Displaying Max Int Value string minstr = "Min int value "; // Text Displaying Min Int Value string resultstring = resstr + intA.ToString() + " + " + intB.ToString() + " X " + intC.ToString() + " - " + intD.ToString() + " = " + intRes.ToString(); // Putting it all together to look cleaner when calling the string lstOutput.Items.Add(resultstring); // AddTo ListBox And Displays ResultString lstOutput.Items.Add(maxstr + int.MaxValue); // AddTo ListBox And Displays Max int lstOutput.Items.Add(minstr + int.MinValue); // AddTo ListBox And Displays Min Int [/hide] Quote Share this post Link to post Share on other sites
kovacsx 0 Time to learn :) and thank you for sharing you know knowledge to us! Quote Share this post Link to post Share on other sites
YkOlseh 0 If you have ever wanted to learn c# for multiple purposes. Then here is your answer. thank you dude Quote Share this post Link to post Share on other sites
softboi69 0 If you have ever wanted to learn c# for multiple purposes. Then here is your answer. KNWOLEGE IS POWER BROTHERS Quote Share this post Link to post Share on other sites
jpvineeth 2 thanks for sharing :hype: :hype: :hype: :fiesta: :fiesta: :fiesta: :fiesta: :fiesta: Quote Share this post Link to post Share on other sites