   I need help understanding a couple things in C#
  Return TypesMethod ParametersPublic/Private PropertiesThe {0}, {1}, etc type things.I'm not 100% sure on how to use the first 4, and the 4th one I have absolutely no clue.Can someone show me absolute basic examples for all 4? I have looked at YT vids, i've read through my books, and I just can not figure these out.(For those of you who've seen my topics before, sorry if I seem like a broken record, I just can't seem to get the clear cut idea).   
  You might have a little better luck if you focus on one issue per thread (it might make the questions a little easier to answer).Also, can you clarify which aspects of the issues in question you're having problems with? Return types, for example, are fairly basic and are fundamental to at least a few languages. As for 'public' and 'private', although the details differ between languages, the concepts are fairly general and have to do with object-oriented design.By '{0}', I assume you mean the syntax used by C#'s Format() function; is that correct?Maybe you could post a specific bit of code you're having trouble with, and explain in a little more detail what it is you're confused about.   ;  Methods are bits of functionality. For example, you might have a method to play a sound. Instead of writing lots of different methods for playing specific sounds, you want to write one function that can play any sound. You use the method parameters to specify the sound you want to play.Sometimes your method is designed not to do something, but to tell you something. You might want a method that tells you what the square root of a number is, or what volume a sound is currently playing at. The return type of the method allows it to pass such information back to the caller.Properties are advanced, I wouldn't worry about them until you have methods down.The {0}, {1} notation is an example of a placeholder. You might want a complex piece of text printed to the console, often mixed with your own variables. The {} syntax indicates where you want a variable to go, and the number indicates which variable. This is an obvious example of your question #1, we have a generic function to print messages, and each time you call it you can specify what you want printed.public class Example{    public static void Main(string [] args)    {   // No format arguments Console.WriteLine("Hello, World!");   // Simple substitution   string username = "Jim";   Console.WriteLine("Hello, {0}!", username);   // More complex substitution   int x = 0;   int y = 1;   Console.WriteLine("X is {0}, Y is {1}, X + Y is {2}, X - Y is {3}.", x, y, x + y, x - y);   // You can re-order the arguments   Console.WriteLine("First 5 odd numbers are {3}, {1}, {4}, {0}, {2}.", 7, 3, 9, 1, 5);   // Or duplicate them!   Console.WriteLine("Some binary numbers: {0}{0}, {0}{1}, {1}{0}, {1}{1}", 0, 1);    }}These are some stupid examples but they indicate how you might use such functions. As jyk says if you have more specific questions we can answer better.The real power of this is that the format strings are separate from the data to be formatted. This means that if you were writing your code to work in different languages, you can simply swap the format strings:public class Example{    public static void Main(string [] args)    {   string language = args[0];   string username = args[1];   string format;   if(language == "french") {  format = "Bonjour {0}!";   } else if(language == "irish") {   format = "Dia dhuit, a {0}!";   } else if(/* many languages omitted */) {    // ...   } else {    format = "Hello {0}!";   }   Console.WriteLine(format, username);    }}In practice such format strings might be loaded from a set of files created by a translation company. This isn't 100% accurate: for example, in Irish my name would need to be changed from Brian to Bhrian when used in such a context.   ;  Basically what I was asking, is how to use return types, how parameters are used, etc. Because I don't know how to use them exactly.   ;Basically what I was asking, is how to use return types, how parameters are used, etc. Because I don't know how to use them exactly.rip-off provided some good examples. I think if you want further help, you'll need to ask a more specific question. For example, post a specific bit of code that you're having trouble understanding, or describe something that you'd like to do in your code but are unsure how to implement.   