Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Class
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Main"); Test t = new Test(); Console.WriteLine("Propietat T1 de la classe Test: "+ t.T1); Console.WriteLine("Mètode t() del objecte tipus Test "+ t.t()); } } public class Test { private string _t1; private string _t2; public string T1 { get {return _t1;} } public Test(){ _t1 = "incialització"; } public string t(){ Console.WriteLine("Mètode t()"); return "retorna string"; } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Time by 15 minutes
1
Intuit // C# // Lecture_4 // Laba_#1
sdfrgthyjujyhtgtg
SQL import
Math Course: Remainders
Encryption & Decryption AES C#
Encode URl C#
6.4 Parallelism: threads and events
Exception Handling
Please log in to post a comment.