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)

PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Pre independence Education in Inndia.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Renaissance Architecture: A Journey from Faith to Humanism
Module 4: Burden of Disease Tutorial Slides S2 2025
Supply Chain Operations Speaking Notes -ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
STATICS OF THE RIGID BODIES Hibbelers.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
01-Introduction-to-Information-Management.pdf
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Types and Its function , kingdom of life
human mycosis Human fungal infections are called human mycosis..pptx
PPH.pptx obstetrics and gynecology in nursing
Pre independence Education in Inndia.pdf
O7-L3 Supply Chain Operations - ICLT Program
TR - Agricultural Crops Production NC III.pdf

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