Dieser Artikel wurde maschinell übersetzt. Wenn Sie die englische Version des Artikels anzeigen möchten, aktivieren Sie das Kontrollkästchen Englisch. Sie können den englischen Text auch in einem Popupfenster anzeigen, indem Sie den Mauszeiger über den Text bewegen.
|
Übersetzung
Englisch
|
Console.Write-Methode: (UInt32)
.NET Framework (current version)
Veröffentlicht: Oktober 2016
Diese API ist nicht CLS-kompatibel.
Assembly: mscorlib (in mscorlib.dll)
[CLSCompliantAttribute(false)] [HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)] public static void Write( uint value )
Parameter
- value
-
Type:
System.UInt32
Der zu schreibende Wert.
Exception | Condition |
---|---|
IOException |
public class FormatConverter { public static void Main(string[] args) { string lineInput; while ((lineInput = Console.ReadLine()) != null) { string[] fields = lineInput.Split(new char[] {'\t'}); bool isFirstField = true; foreach(string item in fields) { if (isFirstField) isFirstField = false; else Console.Write(','); // If the field represents a boolean, replace with a numeric representation. try { Console.Write(Convert.ToByte(Convert.ToBoolean(item))); } catch(FormatException) { Console.Write(item); } } Console.WriteLine(); } } }
UIPermission
for modifying safe top-level windows and subwindows. Associated enumeration: F:System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows
.NET Framework
Verfügbar seit 1.1
Verfügbar seit 1.1
Anzeigen: