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
  1. Home
  2. General Programming
  3. C#
  4. What is the major drawback in C# .NET?

What is the major drawback in C# .NET?

Scheduled Pinned Locked Moved C#
csharpquestionasp-net
13 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Parameswar Mal
    wrote on last edited by
    #1

    I am working in .NETt tech. Like Asp.Net,VB.NET. I want to know that What is the major drawback of C#.NET. Param

    C S 2 Replies Last reply
    0
    • P Parameswar Mal

      I am working in .NETt tech. Like Asp.Net,VB.NET. I want to know that What is the major drawback of C#.NET. Param

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The major drawback is probably that anyone can read your code. This is also true of VB.NET, but VB has other drawbacks that C# does not :-)

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      J P 2 Replies Last reply
      0
      • C Christian Graus

        The major drawback is probably that anyone can read your code. This is also true of VB.NET, but VB has other drawbacks that C# does not :-)

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        J Offline
        J Offline
        Jabeerbe
        wrote on last edited by
        #3

        How do you say that any one can read the code. How come this is possible.This is not open source rite. Please give me some proof.

        Regards, A Jabeer Ali

        B P C 3 Replies Last reply
        0
        • J Jabeerbe

          How do you say that any one can read the code. How come this is possible.This is not open source rite. Please give me some proof.

          Regards, A Jabeer Ali

          B Offline
          B Offline
          blackjack2150
          wrote on last edited by
          #4

          .NET Intermediate compiled language(IL) is very easy to decompile.

          1 Reply Last reply
          0
          • J Jabeerbe

            How do you say that any one can read the code. How come this is possible.This is not open source rite. Please give me some proof.

            Regards, A Jabeer Ali

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Compile up your application as Release mode so that you know that you can't cheat by retrieving debug symbols. Then, attempt to open it up using Lutz Roeder's Reflector[^] - there you go, you're back at the code you started with (almost).

            Deja View - the feeling that you've seen this post before.

            R 1 Reply Last reply
            0
            • P Pete OHanlon

              Compile up your application as Release mode so that you know that you can't cheat by retrieving debug symbols. Then, attempt to open it up using Lutz Roeder's Reflector[^] - there you go, you're back at the code you started with (almost).

              Deja View - the feeling that you've seen this post before.

              R Offline
              R Offline
              Russell Jones
              wrote on last edited by
              #6

              Pete O`Hanlon wrote:

              you're back at the code you started with (almost).

              often better written in my experience. The compiler optimisations seem to work I've also seen people use this to convert VB to c#. Russell

              C R 2 Replies Last reply
              0
              • P Parameswar Mal

                I am working in .NETt tech. Like Asp.Net,VB.NET. I want to know that What is the major drawback of C#.NET. Param

                S Offline
                S Offline
                Sandeep Akhare
                wrote on last edited by
                #7

                Parameswar Mal wrote:

                I want to know that What is the major drawback of C#.NET.

                you will not like any other technology as maximum things are readily available.

                Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

                J 1 Reply Last reply
                0
                • J Jabeerbe

                  How do you say that any one can read the code. How come this is possible.This is not open source rite. Please give me some proof.

                  Regards, A Jabeer Ali

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #8

                  LOL - another person comes to terms with the hard reality. .NET is compiled to an intermediate language, which is compiled by the frame work to run, and easily decompiled to read, using tools such as reflector.

                  Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                  1 Reply Last reply
                  0
                  • R Russell Jones

                    Pete O`Hanlon wrote:

                    you're back at the code you started with (almost).

                    often better written in my experience. The compiler optimisations seem to work I've also seen people use this to convert VB to c#. Russell

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #9

                    Yeah, reflection is at the core of all .NET language converters, I believe.

                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                    1 Reply Last reply
                    0
                    • S Sandeep Akhare

                      Parameswar Mal wrote:

                      I want to know that What is the major drawback of C#.NET.

                      you will not like any other technology as maximum things are readily available.

                      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

                      J Offline
                      J Offline
                      Jabeerbe
                      wrote on last edited by
                      #10

                      Did any one take the Source code from the Client Side. Is that possible in c#.net.

                      Regards, A Jabeer Ali

                      S 1 Reply Last reply
                      0
                      • J Jabeerbe

                        Did any one take the Source code from the Client Side. Is that possible in c#.net.

                        Regards, A Jabeer Ali

                        S Offline
                        S Offline
                        Sandeep Akhare
                        wrote on last edited by
                        #11

                        Jabeerbe wrote:

                        Did any one take the Source code from the Client Side

                        No dude its not possible as the code reside at the server ........:omg::omg::omg: If it could possible then Microsoft had Shut down :laugh::laugh:

                        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

                        1 Reply Last reply
                        0
                        • R Russell Jones

                          Pete O`Hanlon wrote:

                          you're back at the code you started with (almost).

                          often better written in my experience. The compiler optimisations seem to work I've also seen people use this to convert VB to c#. Russell

                          R Offline
                          R Offline
                          Russell Jones
                          wrote on last edited by
                          #12

                          how can i convert my C# Code to VB.Nets? i mean how to decompile / any other process? thnx in advance prashanth I received this by direct email. The trick that i've seen used is to compile the code and then use reflector to decompile it. I know someone who uses this to convert code examples that he finds on the web from vb.net to c#. He also did vb6 to c# using the VB upgrade wizard and reflector. I'm pretty sure that reflector allows you to decompile to vb. Russell

                          1 Reply Last reply
                          0
                          • C Christian Graus

                            The major drawback is probably that anyone can read your code. This is also true of VB.NET, but VB has other drawbacks that C# does not :-)

                            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                            P Offline
                            P Offline
                            PIEBALDconsult
                            wrote on last edited by
                            #13

                            That's not a drawback of the language itself. What I like least about C# is... it doesn't break from C far enough in some cases: I like that switch statements don't fall through, that's great, but I don't like that the break statement is required, I understand why the decision was made this way, but I don't like it. I would rather that break only applied to loops... have you ever tried to break a loop from within a switch?

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

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