A very important issue is that your code must be "clean" to be testable (see also Robert Martin "Clean Code"). Classes with several thousand lines of code, functions with hundreds of lines of code are not testable. You'll have to write many small classes with small functions. That could be the hardest issue when starting.
i have bought T5567 rfid read or write.link of myw reader is http://www.ebay.com/itm/321488854348?_trksid=p2060778.m570.l4467&_trkparms=gh1g%3DI321488854348.N19.S2.M-34323.R1.TR1
ho can help me to make connection with reader because the reader not going to make a realized a connection.
If I say you to cut a paper of dimension 5m by 5m then surely you would do that. But then I ask you to cut 1000 paper of the same dimension. Then you won't do the measuring for 1000 times, obviously you would make a frame of 5m by 5m and then with the help of it you would be able to cut 1000 papers in less time. So, what you did is you made a framewok which would do that type of task. So, instead of performing same type of task again and again for same type of applications, what you do is you create a framework having all those facilities together in one nice packet and hence providing the abstraction for your application and more importantly many applications.
Can anyone please provide a same way example about library.
“That which does not kill us makes us stronger.” ― Friedrich Nietzsche
Dim FileName AsString = System.IO.Path.GetFileName(FileUploadBenGrid.PostedFile.FileName)
Dim FilePath AsString = System.IO.Path.GetFullPath((FileUploadBenGrid.PostedFile.FileName))
'Read file into a stream
Dim fs As FileStream = New FileStream(FilePath, FileMode.Open, FileAccess.Read)
Dim br As BinaryReader = New BinaryReader(fs)
Dim bytes AsByte() = br.ReadBytes(Convert.ToInt32(fs.Length))
Select a file to upload