Skip to content

Instantly share code, notes, and snippets.

@suchja
Last active November 24, 2016 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suchja/2e20267ca471c23d9e175a27cd8ec809 to your computer and use it in GitHub Desktop.
Save suchja/2e20267ca471c23d9e175a27cd8ec809 to your computer and use it in GitHub Desktop.
Gist zum C# Tutorial Deutsch - TimeSpan | .NET Klassen
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DatentypTimeSpan
{
class Program
{
static void Main(string[] args)
{
// Erstellen von TimeSpan Objekten
// 1 - Konstruktor
TimeSpan zeitSeitTagesbeginn = new TimeSpan(17, 28, 30);
Console.WriteLine(zeitSeitTagesbeginn);
Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment