static void Main(string[] args) { book book = new book(); writer writer = new writer(); Console.WriteLine("-----------------------------------------------------------"); Console.WriteLine("INPUT BOOK INFOMATION"); Console.WriteLine("-----------------------------------------------------------"); Console.Write("Input book title : "); book.title = Console.ReadLine(); Console.Write("Input book price : "); book.price = double.Parse(Console.ReadLine()); Console.WriteLine(); Console.WriteLine("-----------------------------------------------------------"); Console.WriteLine("INPUT AUTHOR INFORMATION"); Console.WriteLine("-----------------------------------------------------------"); Console.Write("Input author name : "); writer.name = Console.ReadLine(); Console.Write("Input author email : "); writer.email = Console.ReadLine(); Console.Write("Input author birth year : "); writer.year = int.Parse(Console.ReadLine()); int tyear = DateTime.Now.Year - writer.year; Console.WriteLine($"The book named \"{book.title}\" write by {writer.name} ({tyear} year old) "); Console.WriteLine($"Costs {book.price} baht. (Write contact: {writer.email})"); Console.ReadKey(); }
static int Main() { sprint.print(); var x = new writer(); return(0); }
public encoder(writer w = default, error err = default, array <byte> buf = default, uint bits = default, uint nBits = default, array <array <byte> > quant = default) { this.w = w; this.err = err; this.buf = buf; this.bits = bits; this.nBits = nBits; this.quant = quant; }
public encoder(writer w = default, error err = default, GIF g = default, long globalCT = default, array <byte> buf = default, array <byte> globalColorTable = default, array <byte> localColorTable = default) { this.w = w; this.err = err; this.g = g; this.globalCT = globalCT; this.buf = buf; this.globalColorTable = globalColorTable; this.localColorTable = localColorTable; }
static int Main() { sprint.print(); var y = new writer(); var x = y; y.s = "new string\n"; x.print(); y.print(); return(0); }
public IHttpActionResult AddUser(string username, string password) { var _writer = new writer(); try { _writer.write(username, password); return(Ok()); } catch (Exception ex) { return(InternalServerError(ex)); } }
public ActionResult Create(writer writer) { try { _writerAccess.AddWriter(writer); return(RedirectToAction("Index")); } catch { return(View()); } }
public encoder(writer w = default, Order order = default, Func <ptr <encoder>, uint, error> write = default, uint bits = default, ulong nBits = default, ulong width = default, ulong litWidth = default, uint hi = default, uint overflow = default, uint savedCode = default, error err = default, array <uint> table = default) { this.w = w; this.order = order; this.write = write; this.bits = bits; this.nBits = nBits; this.width = width; this.litWidth = litWidth; this.hi = hi; this.overflow = overflow; this.savedCode = savedCode; this.err = err; this.table = table; }
/**********************************************************************************************************************************************************************************************************************************************************/ private void button3_Click(object sender, EventArgs e) { writer a = new writer(); a.Path = path; a.data = data; a.datas = data; a.res = d2; a.createExcelFile(); a.daily(); a.weekly(); a.montly(); Console.WriteLine("Finish"); }
static int Main() { sprint.print(); var x = new writer(); var y = new writer(); x.print(); y.print(); y.s = "new string\n"; y.print(); var z = new swriter(); z.s = "hello from swriter\n"; z.print(); return(0); }
writer => WriteDict(writer, EncoderConstants.MandatoryPrefixTable(genTypes), "to_mandatory_prefix")
writer => WriteDict(writer, EncoderConstants.OpCodeTableKindTable(genTypes), "to_op_code_table_kind")
writer => WriteDict(writer, InstrInfoDictConstants.RegisterFlagsTable(genTypes), "to_flags")
writer => WriteDict(writer, EncoderConstants.EncodingKindTable(genTypes), "to_encoding_kind")
WriteIOTypeCounters(writer, ioCounters.ReadCounters);
writer => WriteDict(writer, InstrInfoDictConstants.MemorySizeFlagsTable(genTypes), "to_flags")
WritePropertiesIntoBuffer(ref writer, options, true);
writer => WriteDict(writer, SymbolFlagsConstants.SymbolFlagsTable(genTypes), "to_flags")
currentNode.WriteTokenTo(writer, currentLeading, currentTrailing);
public static void WriteVarInt <TBufferWriter>(ref this Writer <TBufferWriter> writer, sbyte value) where TBufferWriter : IBufferWriter <byte> => WriteVarInt(ref writer, ZigZagEncode(value));
OriginalTemplate(writer, bindingContext);
WriteObject(writer, graph);
Write(writer, o);
writer => WriteDict(writer, MasmSymbolOptionsConstants.SymbolTestFlagsTable(genTypes), "to_flags")
CompressedIntegralTypes.WriteCompressedNullableInt(ref writer, readOnlyMemory.Length);
writer => WriteDict(writer, FormatMnemonicOptionsConstants.FormatMnemonicOptionsTable(genTypes), "to_flags")
writer => WriteDict(writer, InstrInfoDictConstants.OpAccessConstants(genTypes), "to_access")
writer => WriteHash(writer, genTypes.GetObject <HashSet <EnumValue> >(TypeIds.RemovedCodeValues), "h")
iterator?.Iterate(writer, context, blockParamsVariables, vm._value, template, ifEmpty);
return(TryWrite(writer, value, options, ref state));
public AbstractPrinter(writer outputWriter) { this.outputWriter = outputWriter; }