SlideShare a Scribd company logo
SQL server Tutorial
Stored procedure
www.siri-kt.blogspot.com
• A file is a collection of data stored in a disk with a
specific name and a directory path. When a file is
opened for reading or writing, it becomes a stream.
• The stream is basically the sequence of bytes passing
through the communication path. There are two main
streams: the input stream and theoutput stream.
The input stream is used for reading data from file
(read operation) and the output stream is used for
writing into the file (write operation).
• C# I/O Classes
• The System.IO namespace has various classes that are
used for performing numerous operations with files,
such as creating and deleting files, reading from or
writing to a file, closing a file etc.
• The following table shows some commonly used non-
abstract classes in the System.IO namespace:
• C# FileStream
• C# FileStream class provides a stream for file
operation. It can be used to perform synchronous and
asynchronous read and write operations. By the help of
FileStream class, we can easily read and write data into
file.
• C# FileStream example: writing single byte into file
• Let's see the simple example of FileStream class to
write single byte of data into file. Here, we are using
OpenOrCreate file mode which can be used for read and
write operations.
• C# StreamWriter
• C# StreamWriter class is used to write characters to a
• C# StreamReader
• C# StreamReader class is used to read string from the
stream. It inherits TextReader class. It provides Read()
and ReadLine() methods to read data from the stream.
• C# Serialization
• In C#, serialization is the process of converting object
into byte stream so that it can be saved to memory, file
or database. The reverse process of serialization is
called deserialization.
• Serialization is internally used in remote applications.
• C# SerializableAttribute
• To serialize the object, you need to
apply SerializableAttribute attribute to the type. If you
don't apply SerializableAttribute attribute to the
type, SerializationException exception is thrown at
32sql server
• C# Deserialization
• In C# programming, deserialization is the reverse
process of serialization.
• It means you can read the object from byte
stream. Here, we are going to
use BinaryFormatter.Deserialize(stream) method
to deserialize the stream.
For more visit our website www.siri-kt.blogspot.com
Thanks for
Watching
More Angular JS TutorialsMore C sharp (c#) tutorials

More Related Content

PPTX
30csharp
PPT
ASP.NET Session 7
PPTX
Reading and Writing Files
PPTX
File Handling in Java Oop presentation
PPT
14 file handling
 
PDF
Basic i/o & file handling in java
PDF
PPTX
C# File IO Operations
30csharp
ASP.NET Session 7
Reading and Writing Files
File Handling in Java Oop presentation
14 file handling
 
Basic i/o & file handling in java
C# File IO Operations

What's hot (20)

PPT
Input output streams
PPTX
9 Inputs & Outputs
PPTX
Java Tutorial Lab 6
PDF
input/ output in java
PDF
Files and streams
PPT
Java IO Package and Streams
PPTX
CSV File Manipulation
PPTX
Java Tutorial Lab 4
PPT
Data file handling
PDF
Javaiostream
PDF
C++ Files and Streams
PPTX
An Introduction To Python - Files, Part 1
PDF
Understanding C# in .NET
PPTX
Data file handling in python binary & csv files
DOCX
Filehandling
PPTX
Java Tutorial Lab 1
PPT
Byte stream classes.49
PPTX
2CPP17 - File IO
PPS
Files & IO in Java
PPTX
Input output streams
9 Inputs & Outputs
Java Tutorial Lab 6
input/ output in java
Files and streams
Java IO Package and Streams
CSV File Manipulation
Java Tutorial Lab 4
Data file handling
Javaiostream
C++ Files and Streams
An Introduction To Python - Files, Part 1
Understanding C# in .NET
Data file handling in python binary & csv files
Filehandling
Java Tutorial Lab 1
Byte stream classes.49
2CPP17 - File IO
Files & IO in Java
Ad

Similar to 32sql server (20)

PPTX
31cs
PPT
File handling
PPTX
15. Streams Files and Directories
PPS
09 iec t1_s1_oo_ps_session_13
PPT
C# Tutorial MSM_Murach chapter-21-slides
PPTX
PPT
ASP.NET Session 8
PDF
Monhocvecaujahetvagiuplaptunhhayhonha.pdf
PDF
Tool Development 03 - File I/O
PPT
Advanced c#
DOCX
Switching & Multiplexing
DOCX
using System.docx
PPTX
Files io
PPTX
04 standard class library c#
PPT
Jedi Slides Intro2 Chapter12 Advanced Io Streams
PPT
15 Text files
PDF
Java Day-6
DOCX
C# Create Stream from Byte ArrayC# Create Stream from Byte Array
PPT
Md121 streams
PDF
11_Str11_Streams.11_Streams.11_Streams.11_Streams.11_Streams.11_Streams.eams.pdf
31cs
File handling
15. Streams Files and Directories
09 iec t1_s1_oo_ps_session_13
C# Tutorial MSM_Murach chapter-21-slides
ASP.NET Session 8
Monhocvecaujahetvagiuplaptunhhayhonha.pdf
Tool Development 03 - File I/O
Advanced c#
Switching & Multiplexing
using System.docx
Files io
04 standard class library c#
Jedi Slides Intro2 Chapter12 Advanced Io Streams
15 Text files
Java Day-6
C# Create Stream from Byte ArrayC# Create Stream from Byte Array
Md121 streams
11_Str11_Streams.11_Streams.11_Streams.11_Streams.11_Streams.11_Streams.eams.pdf
Ad

More from Sireesh K (20)

PPTX
Cn10
PPTX
chanakya neeti
PPTX
chanakya neeti
DOCX
What is mvc
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
Cn10
chanakya neeti
chanakya neeti
What is mvc

Recently uploaded (20)

PDF
Open folder Downloads.pdf yes yes ges yes
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
PDF
Business Ethics Teaching Materials for college
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Open folder Downloads.pdf yes yes ges yes
O7-L3 Supply Chain Operations - ICLT Program
Anesthesia in Laparoscopic Surgery in India
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
Business Ethics Teaching Materials for college
Revamp in MTO Odoo 18 Inventory - Odoo Slides
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
UPPER GASTRO INTESTINAL DISORDER.docx
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
Open Quiz Monsoon Mind Game Prelims.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
Cardiovascular Pharmacology for pharmacy students.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
The Final Stretch: How to Release a Game and Not Die in the Process.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

32sql server

  • 1. SQL server Tutorial Stored procedure www.siri-kt.blogspot.com
  • 2. • A file is a collection of data stored in a disk with a specific name and a directory path. When a file is opened for reading or writing, it becomes a stream. • The stream is basically the sequence of bytes passing through the communication path. There are two main streams: the input stream and theoutput stream. The input stream is used for reading data from file (read operation) and the output stream is used for writing into the file (write operation). • C# I/O Classes • The System.IO namespace has various classes that are used for performing numerous operations with files, such as creating and deleting files, reading from or writing to a file, closing a file etc. • The following table shows some commonly used non- abstract classes in the System.IO namespace:
  • 3. • C# FileStream • C# FileStream class provides a stream for file operation. It can be used to perform synchronous and asynchronous read and write operations. By the help of FileStream class, we can easily read and write data into file. • C# FileStream example: writing single byte into file • Let's see the simple example of FileStream class to write single byte of data into file. Here, we are using OpenOrCreate file mode which can be used for read and write operations. • C# StreamWriter • C# StreamWriter class is used to write characters to a
  • 4. • C# StreamReader • C# StreamReader class is used to read string from the stream. It inherits TextReader class. It provides Read() and ReadLine() methods to read data from the stream. • C# Serialization • In C#, serialization is the process of converting object into byte stream so that it can be saved to memory, file or database. The reverse process of serialization is called deserialization. • Serialization is internally used in remote applications. • C# SerializableAttribute • To serialize the object, you need to apply SerializableAttribute attribute to the type. If you don't apply SerializableAttribute attribute to the type, SerializationException exception is thrown at
  • 6. • C# Deserialization • In C# programming, deserialization is the reverse process of serialization. • It means you can read the object from byte stream. Here, we are going to use BinaryFormatter.Deserialize(stream) method to deserialize the stream.
  • 7. For more visit our website www.siri-kt.blogspot.com Thanks for Watching More Angular JS TutorialsMore C sharp (c#) tutorials