Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Nelson Costa Inacio

@Nelson Costa Inacio
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C# Specified cast is not valid
    N Nelson Costa Inacio

    You cannot convert an object to int. Do some more research before asking for help

    C# csharp linq graphics help

  • Need help on how to if record exists update else insert c#
    N Nelson Costa Inacio

    Check this Microsoft SQL Server and Oracle Compared[^] Will help you to understand the differences between Oracle and SQL Server.

    C# help csharp tutorial question announcement

  • Specified cast is not valid. i can't understand error
    N Nelson Costa Inacio

    That error is telling you that he cannot convert DR object type to int. DR type is SQLDataReader, you cannot convert data reader to int. Why fill "vochcombox" twice? While loop should work, but foreach doesn't for sure.

    C# help

  • Convert Char[ ] To Char ? [ ]
    N Nelson Costa Inacio

    No, Char is just a single letter or number. Char[] is a list of Chars. You can loop the list and concatenate a string or if the list have a fixed size declare a Char for each element and fill when you loop the list.

    C# data-structures question

  • coding
    N Nelson Costa Inacio

    Reuse code, if you repeating on 2 or more places consider put that inside a function and call it everywhere you need that code. Application resources consume. For example you have a variable that will have values between 0 and 20, declare it as byte instead of int. Byte support number until 256 and only consume 1 byte, int support a number until 2.147.483.647 but consumes 4 bytes. If you are loading a list of objects this can have a huge impact on performance. Comment code, give some hints of what you have done. When you have maintain code not developed by you, you will understand the importance of comment code.

    Visual Studio 2015 & .NET 4.6 tutorial

  • C# Program Output??
    N Nelson Costa Inacio

    1. V = Extract dictionary.txt file content to a string V1 = Contains string[] 3rd element V2 = Contains string[] 4th element First = Extract from V the first string matching with V1 Last = Extract from V the first string matching with V2 l = Get from V the index of First l2 = Get from V the index of Last l3 = Length of Last - First Results = Skip first element and return next l3 elements Print Results The code is reading dictionary.txt and print all results between index of 3rd and 4th array element. 2. This code is hard to read. Variable names aren't intuitive. Doesn't seem to be necessary use var because some types aren't anonymous. ReadLines return a string[], V1 and V2 are strings, l, l2 and l3 are integer.

    C# question csharp data-structures code-review

  • "Twitter is junk"
    N Nelson Costa Inacio

    If twitter is junk, why facebook isn't junk also?.

    The Lounge html question

  • PostBack data lost ASP.NET 4.5
    N Nelson Costa Inacio

    Why not define a limit of rows to return?, for example 1000. If the user wants to find more specific information should use filters. That will avoid a large consume of memory due storing 25k rows on cache and the requests to database will take less time to process.

    C# csharp html asp-net database linq

  • How to get today's date
    N Nelson Costa Inacio

    Amazing bad code!!!!!!

    The Weird and The Wonderful csharp ruby tutorial

  • How create an xls file with n sheets
    N Nelson Costa Inacio

    Why open excel without sheet????, makes no sense to me, even if i open excel directly he always shows a new sheet. That's not possible and have no sense.

    Web Development xml question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups