Search results for query: *

  1. T

    how to decipher this code ?

    Hi guys, I am back again with a new question cos I really can't figure out why... class Program { // changing the first letter of each word to Capital letter static void Main(string[] args) { string s = "institute of web technologies science"...
  2. T

    How do I call a method that I have defined?

    Hi guys, I found the solution. Maybe this is too easy for you guys out there but hopefully this sharing will help someone struggling like me :) namespace ToUpperCaseOnFirstLetterOfWords { class Program { static void Main(string[] args) { string a =...
  3. T

    How do I call a method that I have defined?

    Hi, I am not sure why the method doesn't change the first letter of each word to Upper Case. Hope some one can help me. (So sorry the title should be this) namespace ToUpperCaseOnFirstLetterOfWords { class Program { static void Main(string[] args) { string...
  4. T

    Question could someone explain the below code to me?

    Hi John, Thank yo so much for explaining things to me. I seem to understand than before. However, if this kind of question if it is given to me, I am sure I will not be able to come out with a code like that in order to get the g as the square root that has a deviation of 5 decimiel places...
  5. T

    Question could someone explain the below code to me?

    Hello John, Thank you for your kind reply. However, it is so difficult for beginner to figure out that the code has to be multiplied by (n - 1) + 1 for it to realize the 0.0 <= X < 1.0 and return a 1.0 <= Y < n... Or rather for someone that is not mathematically inclined.... Is there a...
  6. T

    Question could someone explain the below code to me?

    Hi, I am a beginner in C# and am desperately looking for help. Basically, I do not understand why the following line in this method below: public static void Main(string [] args) { Console.Write("Enter a number: "); int n = Convert.ToInt32(Console.ReadLine()); Random random = new...
Back
Top Bottom