Advertisement
MainCode

Speaker error

Jun 27th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. using System;
  2. using System.Linq;
  3. using System.Text;
  4. using System.Speech;
  5.  
  6.  
  7. namespace Invi
  8. {
  9.     public class Runner
  10.     {
  11.  
  12.         public static void WhatTimeIs()
  13.         {
  14.             Speaker.Speak(DateTime.Now.ToLocalTime());
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement