17-10-12, 04:43 PM
كاتب الموضوع : AhmedEssawy
VB
كود :
[align=left]' Sample for the Environment.HasShutdownStarted property
Imports System
Class Sample
Public Shared Sub Main()
Console.WriteLine()
Console.WriteLine("HasShutdownStarted: {0}", Environment.HasShutdownStarted)
End Sub 'Main
End Class 'Sample
'
'This example produces the following results:
'
'HasShutdownStarted: False
'[/align]
C#
كود :
[align=left]// Sample for the Environment.HasShutdownStarted property
using System;
class Sample
{
public static void Main()
{
Console.WriteLine();
Console.WriteLine("HasShutdownStarted: {0}", Environment.HasShutdownStarted);
}
}
/*
This example produces the following results:
HasShutdownStarted: False
*/[/align]