Current filter:
                                You should refresh the page.
                                Support Center
                                  • String.Format refactoring produces incorrect result.

                                    Steps to Reproduce:

                                    Module Module1

                                        Sub Main()

                                            Dim a, b As Double

                                            Dim s As String

                                            ' apply "Use String.Format" refactoring

                                            s = a & " " & a / b

                                        End Sub

                                    End Module

                                    Actual Results:

                                    s = String.Format("{0} {0}{1}", a, b)

                                    Expected Results:

                                    s = String.Format("{0} {1}", a, a / b)

                                0 Solutions

                                Creation Date Rating Importance Sort by

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners