Last active
January 27, 2019 20:02
-
-
Save cosminpopescu14/78eabcf0ed5191a3948ec6038c5d16a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace ConsoleApp28 | |
{ | |
public class Intrebare | |
{ | |
public string intrebare; | |
public List<string> raspunsuri = new List<string>(); | |
} | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
Intrebare intrebare = new Intrebare(); | |
intrebare.intrebare = "ce faci ?"; | |
intrebare.raspunsuri.AddRange(new string[] { "bine", "super" }); | |
Console.WriteLine(intrebare.raspunsuri[0]); | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment