System.IO.TextWriter.WriteLine C# (CSharp) Méthode

WriteLine() public méthode

public WriteLine ( ) : void
Résultat void
        public virtual void WriteLine()
        {
            Write(CoreNewLine);
        }

Same methods

TextWriter::WriteLine ( bool value ) : void
TextWriter::WriteLine ( char value ) : void
TextWriter::WriteLine ( char buffer, int index, int count ) : void
TextWriter::WriteLine ( decimal value ) : void
TextWriter::WriteLine ( double value ) : void
TextWriter::WriteLine ( float value ) : void
TextWriter::WriteLine ( int value ) : void
TextWriter::WriteLine ( long value ) : void
TextWriter::WriteLine ( object value ) : void
TextWriter::WriteLine ( string value ) : void
TextWriter::WriteLine ( string format, object arg0 ) : void
TextWriter::WriteLine ( string format, object arg0, object arg1 ) : void
TextWriter::WriteLine ( string format, object arg0, object arg1, object arg2 ) : void
TextWriter::WriteLine ( uint value ) : void
TextWriter::WriteLine ( ulong value ) : void

Usage Example

Exemple #1
1
 private static void PrintCaseStatements(TextWriter output, int branchCount, int value, int off)
 {
     for (var i = branchCount; i > 0; i >>= 1)
     {
         if ((i & value) != 0)
         {
             switch (i)
             {
                 case 32:
                     if (gEnableAvx) output.WriteLine("\t_memcpy32_avx(dst + {0}, src + {0});", off);
                     else output.WriteLine("\t_memcpy32_sse2(dst + {0}, src + {0});", off);
                     break;
                 case 16:
                     output.WriteLine("\t_memcpy16_sse2(dst + {0}, src + {0});", off);
                     break;
                 case 8:
                     output.WriteLine("\t*reinterpret_cast<uint64_t*>(dst + {0}) = *reinterpret_cast<uint64_t const*>(src + {0});", off);
                     break;
                 case 4:
                     output.WriteLine("\t*reinterpret_cast<uint32_t*>(dst + {0}) = *reinterpret_cast<uint32_t const*>(src + {0});", off);
                     break;
                 case 2:
                     output.WriteLine("\t*reinterpret_cast<uint16_t*>(dst + {0}) = *reinterpret_cast<uint16_t const*>(src + {0});", off);
                     break;
                 case 1:
                     output.WriteLine("\tdst[{0}] = src[{0}];", off);
                     break;
             }
             off += i;
         }
     }
 }
All Usage Examples Of System.IO.TextWriter::WriteLine